Skip to content
Snippets Groups Projects
Commit e587793f authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

add www dir, don't create example app

parent 83c5d923
No related branches found
No related tags found
1 merge request!14Add python
Pipeline #106631 failed
...@@ -49,11 +49,11 @@ RUN /opt/scripts/install_shiny_server.sh ...@@ -49,11 +49,11 @@ RUN /opt/scripts/install_shiny_server.sh
# allows trafic from all ips # allows trafic from all ips
RUN sed -i "s/3838/3838 0.0.0.0/g" /etc/shiny-server/shiny-server.conf RUN sed -i "s/3838/3838 0.0.0.0/g" /etc/shiny-server/shiny-server.conf
# grant shiny to created bookmark state directory in this directory # grant shiny to created bookmark state directory in /var/lib/
RUN chown shiny:shiny /var/lib/shiny-server # grant shiny to write logs in /var/log/
# grant shiny to write logs # grant shiny to write in /srv/shiny-server/www/
RUN mkdir -p /var/log/shiny-server \ RUN chown shiny:shiny /var/lib/shiny-server \
&& chown shiny:shiny /var/log/shiny-server && mkdir -p /var/log/shiny-server \
&& chown shiny:shiny /var/log/shiny-server \
# Create an example app && mkdir -p /srv/shiny-server/www \
RUN shiny create /srv/shiny-server/. && chown shiny:shiny /srv/shiny-server/www
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment