Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -15,5 +15,7 @@ RUN apt-get update && apt-get install -y \
|
|
15 |
# Install Python dependencies
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
-
|
19 |
-
|
|
|
|
|
|
15 |
# Install Python dependencies
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
+
EXPOSE 7860
|
19 |
+
|
20 |
+
# Use gunicorn to run the app
|
21 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|