sga123 commited on
Commit
3a8db40
·
verified ·
1 Parent(s): 8dc82de

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,8 +15,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
  # - `-b 0.0.0.0:7860`: Binds the server to port 7860 on all network interfaces
16
  # - `app:app`: Runs the Flask app (assuming `app.py` contains the Flask instance named `app`)
17
 
18
- EXPOSE 7860
19
 
20
  # Run the Flask application using Gunicorn for production or Flask's dev server for development
21
  # For production using Gunicorn:
22
- CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
 
15
  # - `-b 0.0.0.0:7860`: Binds the server to port 7860 on all network interfaces
16
  # - `app:app`: Runs the Flask app (assuming `app.py` contains the Flask instance named `app`)
17
 
18
+ EXPOSE 5000
19
 
20
  # Run the Flask application using Gunicorn for production or Flask's dev server for development
21
  # For production using Gunicorn:
22
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]