Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
@@ -16,11 +16,7 @@ RUN pip install --no-cache-dir -r Requirements.txt
|
|
16 |
# Set the environment variable for Hugging Face cache location
|
17 |
ENV HF_HOME=/app/.cache
|
18 |
|
19 |
-
#
|
20 |
-
EXPOSE 7680
|
21 |
|
22 |
-
#
|
23 |
-
|
24 |
-
|
25 |
-
# Run the application using Gunicorn
|
26 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7680", "application:app"]
|
|
|
16 |
# Set the environment variable for Hugging Face cache location
|
17 |
ENV HF_HOME=/app/.cache
|
18 |
|
19 |
+
# Remove the EXPOSE port and Gunicorn part
|
|
|
20 |
|
21 |
+
# Run the Flask app directly
|
22 |
+
CMD ["python", "application.py"]
|
|
|
|
|
|