We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c4f073 commit d73a5adCopy full SHA for d73a5ad
dockerfile
@@ -32,6 +32,11 @@ RUN mkdir -p $(R RHOME)/etc && \
32
echo "local(options(shiny.port = 3838, shiny.host = '0.0.0.0'))" > $(R RHOME)/etc/Rprofile.site && \
33
echo "Sys.setenv(PATH = paste('/usr/local/bin', Sys.getenv('PATH'), sep=':'))" >> $(R RHOME)/etc/Rprofile.site
34
35
+# Créa utilisateur applicatif
36
+RUN groupadd --gid 10001 -r shiny \
37
+ && useradd --uid 10001 -d /home/shiny -m -r -s /bin/false -g shiny shiny \
38
+USER shiny
39
+
40
WORKDIR /home/app
41
COPY . .
42
0 commit comments