Skip to content

Instantly share code, notes, and snippets.

@salma71
Created November 2, 2020 12:50
Show Gist options
  • Save salma71/83fe7df033cbcb07834bafd056003dd5 to your computer and use it in GitHub Desktop.
Save salma71/83fe7df033cbcb07834bafd056003dd5 to your computer and use it in GitHub Desktop.
HEROKU_APP_NAME=regpackage
HEROKU_APP_NAME=regpackage
COMMIT_ID=$(shell git rev-parse HEAD)
build-ml-api-heroku:
docker build --build-arg PIP_EXTRA_INDEX_URL=${PIP_EXTRA_INDEX_URL} -t registry.heroku.com/$(HEROKU_APP_NAME)/web:$(COMMIT_ID) .
push-ml-api-heroku:
docker push registry.heroku.com/${HEROKU_APP_NAME}/web:$(COMMIT_ID)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment