Skip to content
Snippets Groups Projects
Dockerfile 645 B
#
#   Dockerfile
#   Python base
#
#   Mia Legras
#   Institut Pasteur Paris
#_____________________________________________


# exit
# sudo docker container ls -a # to get all the active containers


FROM r-base:3.5.2

LABEL Mia.Legras=mia.legras@pasteur.fr

RUN apt-get install debian-keyring debian-archive-keyring
RUN apt-key update
RUN apt-get update
RUN apt-get install -y --no-install-recommends

COPY requirements.txt .
RUN apt-get install -r requirements.txt
RUN Rscript -e "install.packages(c('lubridate', 'reshape2', 'Cairo'), dev=TRUE)"
RUN Rscript -e "install.packages('ggplot2', dev=TRUE, lib=NULL)"

ENTRYPOINT ["/usr/bin/Rscript"]