Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -16,7 +16,6 @@ RUN apt-get update && \
|
|
16 |
apt-get install -y \
|
17 |
libgl1-mesa-glx \
|
18 |
ffmpeg \
|
19 |
-
redis-server \
|
20 |
&& apt-get clean \
|
21 |
&& rm -rf /var/lib/apt/lists/*
|
22 |
|
@@ -36,4 +35,6 @@ RUN bash scripts/download_models.sh
|
|
36 |
# Install Python dependencies
|
37 |
RUN pip install --no-cache-dir -r requirements.txt
|
38 |
|
39 |
-
CMD ["
|
|
|
|
|
|
16 |
apt-get install -y \
|
17 |
libgl1-mesa-glx \
|
18 |
ffmpeg \
|
|
|
19 |
&& apt-get clean \
|
20 |
&& rm -rf /var/lib/apt/lists/*
|
21 |
|
|
|
35 |
# Install Python dependencies
|
36 |
RUN pip install --no-cache-dir -r requirements.txt
|
37 |
|
38 |
+
# CMD ["gunicorn", "-b", "0.0.0.0:7860","app:app"]
|
39 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "300", "app:app"]
|
40 |
+
# CMD ["gunicorn", "-b", "0.0.0.0:7860", "--workers", "3", "--timeout", "300", "--worker-class", "gevent", "app:app"]
|