Skip to content

Commit 31a37b5

Browse files
committed
Bind to port 8000 rather than port 80
This is due to permission issue in the produciton non-root pods
1 parent e0ce8f0 commit 31a37b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ ENV uvicorn_extras=$uvicorn_extras
2121

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

0 commit comments

Comments
 (0)