Mythus commited on
Commit
d6315a0
1 Parent(s): c6e24f7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,7 +20,7 @@ COPY generator.py /app/
20
  COPY app.py /app/
21
 
22
  # Make port 8080 available to the world outside this container
23
- EXPOSE 7960
24
 
25
  # Run generator.py and flask run when the container launches
26
- CMD python3 -u generator.py & python3 -u -m flask run --host=0.0.0.0 --port=8080
 
20
  COPY app.py /app/
21
 
22
  # Make port 8080 available to the world outside this container
23
+ EXPOSE 8080
24
 
25
  # Run generator.py and flask run when the container launches
26
+ CMD ["python3", "app.py"]