Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
@@ -45,12 +45,9 @@ COPY requirements.txt .
|
|
45 |
RUN pip3 install --upgrade pip setuptools
|
46 |
RUN pip3 install -r requirements.txt
|
47 |
|
48 |
-
RUN chown -R 1000:0 .
|
49 |
-
|
50 |
-
|
51 |
-
RUN chmod 777 /app
|
52 |
-
RUN chown -R 1000:0 /.cache
|
53 |
-
RUN chmod 777 /.cache
|
54 |
|
55 |
EXPOSE 7860
|
56 |
|
|
|
45 |
RUN pip3 install --upgrade pip setuptools
|
46 |
RUN pip3 install -r requirements.txt
|
47 |
|
48 |
+
RUN chown -R 1000:0 . \
|
49 |
+
&& chmod -R 777 /usr/src/app \
|
50 |
+
&& chmod -R 777 /usr
|
|
|
|
|
|
|
51 |
|
52 |
EXPOSE 7860
|
53 |
|