Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -16,8 +16,5 @@ 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 |
-
|
| 20 |
-
|
| 21 |
-
# Run using Python instead of Gunicorn
|
| 22 |
-
CMD ["python", "app.py"]
|
| 23 |
|
|
|
|
| 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 |
|