fix: wrong port left behind

This commit is contained in:
iritmaximus
2023-02-05 10:30:25 +02:00
parent fcf2cdb614
commit efc1bd9554
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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", "'-'"]
+1 -1
View File
@@ -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