Spaces:
Running
Running
Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -10,6 +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 |
COPY . /code/
|
14 |
|
15 |
-
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 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
18 |
+
|
19 |
+
RUN mkdir ./.cache
|