Skip to content

Commit

Permalink
procfile added
Browse files Browse the repository at this point in the history
  • Loading branch information
Atashnezhad committed Aug 8, 2023
1 parent fa35779 commit 23f72e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,12 @@ run-docker-remove:
# docker remove all images
.PHONY: run-docker-remove-all
run-docker-remove-all:
./script_dockers.sh remove-all-imgs
./script_dockers.sh remove-all-imgs

# deploy to heroku
.PHONY: deploy-heroku
deploy-heroku:
heroku container:login
heroku create rtbg-app
heroku container:push web --app rtbg-app
heroku open --app rtbg-app
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: uvicorn app.main:app --host 0.0.0.0 --port $PORT

0 comments on commit 23f72e1

Please sign in to comment.