Petermoyano commited on
Commit
4a5f5bf
·
1 Parent(s): 1e5b237

Change port

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -10,11 +10,11 @@ COPY . /app
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 variable
17
  ENV NAME becognitium
18
 
19
  # Run app.py when the container launches
20
- CMD ["gunicorn", "-w 4", "-b 0.0.0.0:5000", "app:app"]
 
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 NAME becognitium
18
 
19
  # Run app.py when the container launches
20
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]