aravindshaz3 commited on
Commit
b7feb34
·
verified ·
1 Parent(s): d40d3e9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -16,5 +16,8 @@ EXPOSE 7860
16
  # - `-w 4`: Uses 4 worker processes for handling requests
17
  # - `-b 0.0.0.0:7860`: Binds the server to port 7860 on all network interfaces
18
  # - `app:app`: Runs the Flask app (assuming `app.py` contains the Flask instance named `app`)
19
- CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
 
 
 
20
 
 
16
  # - `-w 4`: Uses 4 worker processes for handling requests
17
  # - `-b 0.0.0.0:7860`: Binds the server to port 7860 on all network interfaces
18
  # - `app:app`: Runs the Flask app (assuming `app.py` contains the Flask instance named `app`)
19
+ #CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
20
+
21
+ # Run using Python instead of Gunicorn
22
+ CMD ["python", "app.py"]
23