Merge pull request 'Force hypercorn to bind to 0.0.0.0:8000' (#14) from fix-hypercorn-listen-ip into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

Reviewed-on: #14
This commit is contained in:
raoul 2023-07-30 05:33:14 +00:00
commit bf20fd1a76
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"]