From f099958fb16872390cc5cc8f0621fe3be51e62bc Mon Sep 17 00:00:00 2001 From: max Date: Thu, 26 Dec 2024 05:48:10 +0000 Subject: [PATCH] bind to `0.0.0.0:8000` in dockerfile entrypoint so that docker port exposing works properly --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c2e7cdf..eb58331 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ WORKDIR /catask COPY . . RUN pip install --no-cache-dir -r requirements.txt -ENTRYPOINT [ "gunicorn", "-w", "4", "app:app" ] \ No newline at end of file +ENTRYPOINT [ "gunicorn", "-w", "4", "app:app", "--bind", "0.0.0.0:8000" ] \ No newline at end of file