Update permissions
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
@@ -5,14 +5,14 @@ ENV XDG_CACHE_HOME=/app/.cache
|
|
5 |
ENV HOME=/app
|
6 |
ENV GRADIO_TEMP_DIR=/app/gradio_tmp
|
7 |
|
8 |
-
COPY install.sh .
|
9 |
-
RUN ./install.sh
|
10 |
|
11 |
-
USER root
|
12 |
-
RUN mkdir -p /app/.cache && chown -R 1000:1000 /app/.cache
|
13 |
-
RUN mkdir -p /app/.torch_cache && chown -R 1000:1000 /app/.torch_cache
|
14 |
-
RUN mkdir -p /app/gradio_tmp && chown -R 1000:1000 /app/gradio_tmp
|
15 |
-
RUN mkdir -p /app/.config/matplotlib && chown -R 1000:1000 /app/.config/matplotlib
|
16 |
USER 1000
|
17 |
|
18 |
CMD ["./bin/run_gui"]
|
|
|
5 |
ENV HOME=/app
|
6 |
ENV GRADIO_TEMP_DIR=/app/gradio_tmp
|
7 |
|
8 |
+
# COPY install.sh .
|
9 |
+
# RUN ./install.sh
|
10 |
|
11 |
+
# USER root
|
12 |
+
# RUN mkdir -p /app/.cache && chown -R 1000:1000 /app/.cache
|
13 |
+
# RUN mkdir -p /app/.torch_cache && chown -R 1000:1000 /app/.torch_cache
|
14 |
+
# RUN mkdir -p /app/gradio_tmp && chown -R 1000:1000 /app/gradio_tmp
|
15 |
+
# RUN mkdir -p /app/.config/matplotlib && chown -R 1000:1000 /app/.config/matplotlib
|
16 |
USER 1000
|
17 |
|
18 |
CMD ["./bin/run_gui"]
|