Upload folder using huggingface_hub
Browse files- 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
|
| 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:
|
|
|
|
| 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"]
|