create writable /code/.cache dir
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 7 |
|
| 8 |
WORKDIR /code
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# install python deps
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 7 |
|
| 8 |
WORKDIR /code
|
| 9 |
|
| 10 |
+
# create writable cache dir
|
| 11 |
+
RUN mkdir -p /code/.cache && chmod 777 /code/.cache
|
| 12 |
+
|
| 13 |
# install python deps
|
| 14 |
COPY requirements.txt .
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|