From 0990f0cc0812149901d2914bb7b23101f9b11034 Mon Sep 17 00:00:00 2001 From: tomkuipers1402 Date: Fri, 1 May 2020 13:44:01 +0200 Subject: [PATCH] add dockerfile --- docker/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker/Dockerfile diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..5964df6 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,23 @@ +FROM rocker/r-ver:3.6.1 + +# Install Ubuntu packages +RUN apt-get update && apt-get install -y \ + sudo \ + gdebi-core \ + pandoc \ + pandoc-citeproc \ + libcairo2-dev \ + libjpeg-dev \ + libxt-dev \ + libssl-dev \ + libcurl4-gnutls-dev \ + libxml2-dev \ + libssl-dev + +#install necessary libraries +RUN R -e "install.packages('devtools')" +RUN R -e "devtools::install_github('LUMC/dgeAnalysis')" + +EXPOSE 1402 + +CMD R -e "library(dgeAnalysis); dgeAnalysis::startApp()"