Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -9,4 +9,5 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
9 |
RUN pip install --upgrade pip
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
COPY --chown=user . /app
|
12 |
-
|
|
|
|
9 |
RUN pip install --upgrade pip
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
COPY --chown=user . /app
|
12 |
+
EXPOSE 7860
|
13 |
+
CMD gunicorn --workers 5 --threads 2 -b 0.0.0.0:8050 --timeout 0 app:server
|