Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -17,10 +17,10 @@ RUN pip install --no-cache-dir -r Requirements.txt
|
|
17 |
ENV HF_HOME=/app/.cache
|
18 |
|
19 |
# Make port 7680 available to the world outside this container
|
20 |
-
EXPOSE
|
21 |
|
22 |
# Define environment variable for Flask app port
|
23 |
-
ENV PORT=
|
24 |
|
25 |
# Run the application using Gunicorn
|
26 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:
|
|
|
17 |
ENV HF_HOME=/app/.cache
|
18 |
|
19 |
# Make port 7680 available to the world outside this container
|
20 |
+
EXPOSE 7860
|
21 |
|
22 |
# Define environment variable for Flask app port
|
23 |
+
ENV PORT=7860
|
24 |
|
25 |
# Run the application using Gunicorn
|
26 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:application"]
|