mirror of
https://github.com/iritmaximus/timetrials.git
synced 2026-10-12 19:13:48 +03:00
fix: wrong port left behind
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user