Spaces:
Runtime error
Runtime error
Add /.cache dir and set permission.
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM python:3.10
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN mkdir /.cache && chmod 777 /.cache
|
6 |
+
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|