Listen on all interfaces

main
Micke Nordin 2 years ago
parent 48f416e1e8
commit 3a0d02af86
Signed by: micke
GPG Key ID: 0DA0A7A5708FE257

@ -9,4 +9,4 @@ COPY ./main.py .
COPY ./requirements.txt .
RUN pip install --no-cache-dir --requirement requirements.txt
EXPOSE 8000/tcp
CMD [ ".local/bin/uvicorn", "main:app" ]
CMD [ ".local/bin/uvicorn", "--host", "0.0.0.0", "main:app" ]

Loading…
Cancel
Save