Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
again try
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -6,6 +6,10 @@ COPY ./requirements.txt /code/requirements.txt
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
CMD ["python", "server/main.py", "--port", "7860"]
|
|
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
+
RUN mkdir -p /.cache
|
| 10 |
+
|
| 11 |
+
RUN chmod 777 /.cache
|
| 12 |
+
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
CMD ["python", "server/main.py", "--port", "7860"]
|