bind to 0.0.0.0:8000 in dockerfile entrypoint so that docker port exposing works properly

This commit is contained in:
max 2024-12-26 05:48:10 +00:00 committed by theycallhermax
parent 49b4530a2b
commit f099958fb1
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

View file

@ -6,4 +6,4 @@ WORKDIR /catask
COPY . . COPY . .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT [ "gunicorn", "-w", "4", "app:app" ] ENTRYPOINT [ "gunicorn", "-w", "4", "app:app", "--bind", "0.0.0.0:8000" ]