BaljinderH commited on
Commit
8416ea4
·
1 Parent(s): 2943ec5

Update Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +4 -3
Dockerfile.txt CHANGED
@@ -10,12 +10,13 @@ COPY . /code
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Make port 5000 available to the world outside this container
14
- EXPOSE 5000
15
 
16
- # Define environment variables for Flask to run in production mode
17
  ENV FLASK_APP=app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
 
19
 
20
  # Run app.py when the container launches
21
  CMD ["flask", "run"]
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Make port 7860 available to the world outside this container
14
+ EXPOSE 7860
15
 
16
+ # Define environment variable
17
  ENV FLASK_APP=app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
19
+ ENV FLASK_RUN_PORT=7860
20
 
21
  # Run app.py when the container launches
22
  CMD ["flask", "run"]