File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ RUN mkdir -p $(R RHOME)/etc && \
3232 echo "local(options(shiny.port = 3838, shiny.host = '0.0.0.0'))" > $(R RHOME)/etc/Rprofile.site && \
3333 echo "Sys.setenv(PATH = paste('/usr/local/bin', Sys.getenv('PATH'), sep=':'))" >> $(R RHOME)/etc/Rprofile.site
3434
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-
4035WORKDIR /home/app
4136COPY . .
4237
4338# Rendre le script exécutable
4439RUN chmod +x docker-entrypoint.sh
4540
41+ # Créa utilisateur applicatif
42+ RUN groupadd --gid 10001 -r shiny \
43+ && useradd --uid 10001 -d /home/shiny -m -r -s /bin/false -g shiny shiny
44+ USER shiny
45+
4646EXPOSE 3838
4747
4848ENTRYPOINT ["./docker-entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments