Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -19,5 +19,7 @@ ENV HF_HOME=/app/.cache
|
|
19 |
# Define environment variable for Flask app port (optional but not needed in HF Spaces)
|
20 |
#ENV PORT=7680
|
21 |
|
|
|
|
|
22 |
# Run the application using Gunicorn
|
23 |
-
|
|
|
19 |
# Define environment variable for Flask app port (optional but not needed in HF Spaces)
|
20 |
#ENV PORT=7680
|
21 |
|
22 |
+
USER user
|
23 |
+
|
24 |
# Run the application using Gunicorn
|
25 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|