sga123 commited on
Commit
d4e9f55
·
verified ·
1 Parent(s): a38bc22

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -15,10 +15,8 @@ RUN pip install --no-cache-dir -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 8000
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"", "--bind", "0.0.0.0:8000", "app:app"]
23
- # Command to run the Streamlit application
24
- ###CMD ["streamlit", "run", "app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]
 
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", "--bind", "0.0.0.0:7860", "app:app"]