From 7234b853940908878597a970b1f42bab37b7593f Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 29 Jul 2023 22:30:56 -0700 Subject: [PATCH] Force hypercorn to bind to 0.0.0.0:8000 --- Dockerfile.nightly | 2 +- Dockerfile.release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.nightly b/Dockerfile.nightly index 2e5bcf7..57f6cc0 100644 --- a/Dockerfile.nightly +++ b/Dockerfile.nightly @@ -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"] diff --git a/Dockerfile.release b/Dockerfile.release index 283def3..3c0789d 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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"]