Port argument
This commit is contained in:
parent
ee341b34f4
commit
f06d257b20
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ FROM python:3.11
|
|||
|
||||
ARG FRONTEND_DIR=munch-ease-frontend
|
||||
ARG BACKEND_DIR=munch-ease-backend
|
||||
ARG DOOF_PORT=4006
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
|
|
@ -20,4 +21,4 @@ ENV DOOF_DB=/data/doof.sqlite
|
|||
EXPOSE 80
|
||||
WORKDIR /code/app
|
||||
|
||||
CMD python -m uvicorn main:app --host 0.0.0.0 --port 80
|
||||
CMD python -m uvicorn main:app --host 0.0.0.0 --port "${DOOF_PORT}"
|
||||
Loading…
Reference in a new issue