AronWolverine commited on
Commit
2cab35a
·
verified ·
1 Parent(s): 5097b89

Update dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +2 -2
dockerfile CHANGED
@@ -11,11 +11,11 @@ COPY . .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Expose the Flask app's port (default: 5000)
14
- EXPOSE 5000
15
 
16
  # Set environment variables for Flask
17
  ENV FLASK_APP=app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
19
 
20
  # Command to run the Flask application
21
- CMD ["flask", "run", "--host=0.0.0.0", "--port=5000"]
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Expose the Flask app's port (default: 5000)
14
+ EXPOSE 7860
15
 
16
  # Set environment variables for Flask
17
  ENV FLASK_APP=app.py
18
  ENV FLASK_RUN_HOST=0.0.0.0
19
 
20
  # Command to run the Flask application
21
+ CMD ["flask", "run", "--host=0.0.0.0", "--port=7860"]