Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +8 -8
Dockerfile
CHANGED
@@ -4,14 +4,6 @@ FROM rocker/shiny
|
|
4 |
|
5 |
RUN useradd -m -u 1000 user
|
6 |
|
7 |
-
RUN chown -R user /var/lib/shiny-server/
|
8 |
-
RUN chown -R user /var/log/shiny-server/
|
9 |
-
RUN chown -R user /srv/shiny-server/
|
10 |
-
RUN chown -R user /opt/shiny-server/
|
11 |
-
RUN chown -R user /etc/shiny-server/
|
12 |
-
|
13 |
-
User user
|
14 |
-
|
15 |
RUN apt-get update && apt-get install -y \
|
16 |
--no-install-recommends \
|
17 |
git-core \
|
@@ -24,6 +16,14 @@ RUN apt-get update && apt-get install -y \
|
|
24 |
&& apt-get clean \
|
25 |
&& rm -rf /var/lib/apt/lists/*
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
ENV _R_SHLIB_STRIP_=true
|
28 |
|
29 |
# COPY ./app/* /srv/shiny-server/
|
|
|
4 |
|
5 |
RUN useradd -m -u 1000 user
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
RUN apt-get update && apt-get install -y \
|
8 |
--no-install-recommends \
|
9 |
git-core \
|
|
|
16 |
&& apt-get clean \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
+
RUN chown -R user /var/lib/shiny-server/
|
20 |
+
RUN chown -R user /var/log/shiny-server/
|
21 |
+
RUN chown -R user /srv/shiny-server/
|
22 |
+
RUN chown -R user /opt/shiny-server/
|
23 |
+
RUN chown -R user /etc/shiny-server/
|
24 |
+
|
25 |
+
User user
|
26 |
+
|
27 |
ENV _R_SHLIB_STRIP_=true
|
28 |
|
29 |
# COPY ./app/* /srv/shiny-server/
|