Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
@@ -6,10 +6,6 @@ COPY ./requirements.txt /code/requirements.txt
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
-
# Create a writable cache directory
|
10 |
-
RUN mkdir /.cache && chmod -R 777 /.cache
|
11 |
-
ENV TRANSFORMERS_CACHE=/.cache
|
12 |
-
|
13 |
COPY . .
|
14 |
|
15 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
|
|
|
|
|
|
|
|
9 |
COPY . .
|
10 |
|
11 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]
|