En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Commit 7a514800 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Added Dockerfile.

parent 9d3608fd
FROM rocker/shiny
RUN R -e 'install.packages( \
c("BiocManager", "DT", "dplyr", "factoextra", "glue", "microbenchmark", "shinycustomloader", "shinydashboard"), \
Ncpus='$(nproc)', \
clean=1, \
verbose=1 \
RUN R -e 'BiocManager::install("phyloseq", Ncpus='$(nproc)', clean=1)'
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64 \
&& chmod +x /sbin/dumb-init
ENTRYPOINT ["/sbin/dumb-init", "--"]
CMD ["/usr/bin/shiny-server.sh"]
RUN rm -rf /srv/shiny-server/* \
&& mkdir -p /srv/shiny-server/easy16s /var/lib/shiny-server
ADD *.R /srv/shiny-server/easy16s/
ADD demo/demo.RData demo/chaillou.* /srv/shiny-server/easy16s/demo/
ADD www /srv/shiny-server/easy16s/www
RUN chmod -R a+rX /srv/shiny-server/ \
&& chgrp shiny /var/lib/shiny-server \
&& chmod g+rwxs /var/lib/shiny-server
USER shiny
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment