Force hypercorn to bind to 0.0.0.0:8000
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details

This commit is contained in:
Raoul Snyman 2023-07-29 22:30:56 -07:00
parent 7fde570f87
commit 7234b85394
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"]