Force hypercorn to bind to 0.0.0.0:8000 #14

Merged
raoul merged 1 commits from fix-hypercorn-listen-ip into master 2023-07-30 05:33:15 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -7,4 +7,4 @@ RUN pip install -e .
RUN pip install hypercorn
EXPOSE 8000
CMD ["hypercorn", "codesmidgen.app:application"]
CMD ["hypercorn", "--bind", "0.0.0.0:8000", "codesmidgen.app:application"]

View File

@ -3,4 +3,4 @@ FROM python:3.11-alpine
RUN pip install --extra-index-url https://git.snyman.info/api/packages/raoul/pypi/simple/ CodeSmidgen hypercorn
EXPOSE 8000
CMD ["hypercorn", "codesmidgen.app:application"]
CMD ["hypercorn", "--bind", "0.0.0.0:8000", "codesmidgen.app:application"]