Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -20,6 +20,9 @@ ENV PIP_ROOT_USER_ACTION=ignore
|
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install --upgrade pip && pip install --prefix=/app/.local -r requirements.txt
|
22 |
ENV PYTHONPATH="/app/.local/lib/python3.7/site-packages:${PYTHONPATH}"
|
|
|
|
|
|
|
23 |
|
24 |
COPY . .
|
25 |
RUN git config --global --add safe.directory /app/CodeFormer
|
|
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install --upgrade pip && pip install --prefix=/app/.local -r requirements.txt
|
22 |
ENV PYTHONPATH="/app/.local/lib/python3.7/site-packages:${PYTHONPATH}"
|
23 |
+
RUN chmod -R 777 /.local
|
24 |
+
RUN chmod -R 777 /usr/local/lib/python3.7
|
25 |
+
RUN chmod -R 777 /.cache
|
26 |
|
27 |
COPY . .
|
28 |
RUN git config --global --add safe.directory /app/CodeFormer
|