From efc1bd9554fac04152eff2726c1aa96381716316 Mon Sep 17 00:00:00 2001 From: iritmaximus Date: Sun, 5 Feb 2023 10:30:25 +0200 Subject: [PATCH] fix: wrong port left behind --- Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4360e55..5e85de4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt COPY . . -CMD [ "gunicorn", "-w", "4", "flaskr:app", "-b", "0.0.0.0:6000", "--access-logfile", "'-'", "--error-logfile", "'-'"] +CMD [ "gunicorn", "-w", "4", "flaskr:app", "-b", "0.0.0.0:5000", "--access-logfile", "'-'", "--error-logfile", "'-'"] diff --git a/docker-compose.yml b/docker-compose.yml index 3ebc9c8..63c48eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: flask: # adding this ****ing little **** took at least 3 hours of debugging - command: sh -c "gunicorn -w 4 flaskr:app -b 0.0.0.0:5000 --access-logfile '-' --error-logfile '-'" + # command: sh -c "gunicorn -w 4 flaskr:app -b 0.0.0.0:5000 --access-logfile '-' --error-logfile '-'" build: context: . dockerfile: Dockerfile