Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -2,6 +2,9 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /
|
4 |
|
|
|
|
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
2 |
|
3 |
WORKDIR /
|
4 |
|
5 |
+
# Create a writeable cache directory
|
6 |
+
RUN mkdir -p /cache && chmod 777 /cache
|
7 |
+
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|