Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
@@ -24,9 +24,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
24 |
|
25 |
# Copy the rest of the application code
|
26 |
COPY --chown=user . /app
|
27 |
-
|
28 |
-
# Expose the port your Flask app runs on
|
29 |
-
EXPOSE 5000
|
30 |
-
|
31 |
-
# Run the Flask app using Gunicorn
|
32 |
-
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5000", "--preload", "app:app"]
|
|
|
24 |
|
25 |
# Copy the rest of the application code
|
26 |
COPY --chown=user . /app
|
27 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "-k", "eventlet", "app:app"]
|
|
|
|
|
|
|
|
|
|