FROM r-base WORKDIR /code ADD install.R /code RUN Rscript install.R CMD ["Rscript"]