Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -23,6 +23,7 @@ RUN apt -qq update && \
|
|
23 |
rm -rf /var/lib/apt/lists/
|
24 |
|
25 |
WORKDIR /app
|
|
|
26 |
|
27 |
COPY . .
|
28 |
COPY requirements.txt .
|
@@ -32,6 +33,7 @@ RUN chown -R 1000:0 .
|
|
32 |
RUN chmod 777 .
|
33 |
RUN chown -R 1000:0 /app
|
34 |
RUN chmod 777 /app
|
|
|
35 |
RUN chmod 777 /.cache
|
36 |
|
37 |
RUN mkdir -p uploads && chmod 777 uploads
|
|
|
23 |
rm -rf /var/lib/apt/lists/
|
24 |
|
25 |
WORKDIR /app
|
26 |
+
WORKDIR /.cache
|
27 |
|
28 |
COPY . .
|
29 |
COPY requirements.txt .
|
|
|
33 |
RUN chmod 777 .
|
34 |
RUN chown -R 1000:0 /app
|
35 |
RUN chmod 777 /app
|
36 |
+
RUN chown -R 1000:0 /.cache
|
37 |
RUN chmod 777 /.cache
|
38 |
|
39 |
RUN mkdir -p uploads && chmod 777 uploads
|