thanthamky commited on
Commit
f94d16b
1 Parent(s): 8c95102

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -11,13 +11,13 @@ COPY . /app
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Make port 5000 available to the world outside this container
14
- EXPOSE 7680
15
 
16
  # Define environment variable
17
  ENV FLASK_APP=src/app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
19
- ENV FLASK_RUN_PORT=7680
20
 
21
  # Run flaskapp.py when the container launches
22
- CMD ["flask", "run", "--host=0.0.0.0", "--port=7680"]
23
 
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Make port 5000 available to the world outside this container
14
+ EXPOSE 7860
15
 
16
  # Define environment variable
17
  ENV FLASK_APP=src/app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
19
+ ENV FLASK_RUN_PORT=7860
20
 
21
  # Run flaskapp.py when the container launches
22
+ CMD ["flask", "run", "--host=0.0.0.0", "--port=7860"]
23