Spaces:
Running
Running
Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -10,10 +10,10 @@ RUN pip install torch==1.9.0+cpu torchvision==0.10.0+cpu -f https://download.pyt
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
-
RUN mkdir
|
14 |
|
15 |
COPY . /code/
|
16 |
|
17 |
-
RUN chmod 777
|
18 |
|
19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
RUN mkdir /.cache
|
14 |
|
15 |
COPY . /code/
|
16 |
|
17 |
+
RUN chmod 777 /.cache
|
18 |
|
19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|