Skip to content

Commit

Permalink
Bind to port 8000 rather than port 80
Browse files Browse the repository at this point in the history
This is due to permission issue in the produciton non-root pods
  • Loading branch information
ChrisLovering committed Dec 26, 2022
1 parent e0ce8f0 commit 31a37b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ENV uvicorn_extras=$uvicorn_extras

COPY . .
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["alembic upgrade head && uvicorn api.main:app --host 0.0.0.0 --port 80 $uvicorn_extras"]
CMD ["alembic upgrade head && uvicorn api.main:app --host 0.0.0.0 --port 8000 $uvicorn_extras"]

0 comments on commit 31a37b5

Please sign in to comment.