Skip to content

Commit

Permalink
Attempt docker fix (#197)
Browse files Browse the repository at this point in the history
* fix run command

* hot-fix: error with running docker container

* update port number

* revert run command

* change port and fix run
  • Loading branch information
RafaelCenzano authored Sep 24, 2024
1 parent 1383bc1 commit a988703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=3 \

EXPOSE 9000

CMD gunicorn run:app -w 6 --preload --max-requests-jitter 300 --bind 0.0.0.0:9000
CMD ["./run.sh"]
ENTRYPOINT ["./run.sh"]
2 changes: 1 addition & 1 deletion run.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# Eventually add alembic migrations here

gunicorn run:app -w 6 --preload --max-requests-jitter 300 --bind 0.0.0.0:8000
gunicorn run:app -w 6 --preload --max-requests-jitter 300 --bind 0.0.0.0:9000

0 comments on commit a988703

Please sign in to comment.