Spaces:
Runtime error
Runtime error
Upload Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -21,4 +21,4 @@ EXPOSE 7860
|
|
| 21 |
|
| 22 |
# Start the API using gunicorn, binding to the dynamic PORT provided by HF Spaces
|
| 23 |
ENV PORT=7860
|
| 24 |
-
CMD ["
|
|
|
|
| 21 |
|
| 22 |
# Start the API using gunicorn, binding to the dynamic PORT provided by HF Spaces
|
| 23 |
ENV PORT=7860
|
| 24 |
+
CMD ["sh", "-c", "gunicorn -w 1 -k gthread -b 0.0.0.0:$PORT app:sales_predictor_api"]
|