diff --git a/Dockerfile b/Dockerfile index 17eb256c658b940612595031aab88d1a2c60fae1..79793a17c18d408f83d3743b5b370708b865d71e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ RUN apt-get update && apt-get install -y git-core libcurl4-openssl-dev libgit2- RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site RUN R -e 'install.packages(c("config", "golem", "shiny", "processx", "attempt", "DT", "glue", "htmltools", "readr", "TSstudio"))' RUN R -e 'install.packages(c("knitr", "rmarkdown", "dplyr"))' +ARG COMMIT_HASH=unknown RUN R -e 'remotes::install_gitlab("in-wop/rvgest@master", host = "gitlab.irstea.fr")' RUN mkdir /build_zone ADD . /build_zone WORKDIR /build_zone -ARG COMMIT_HASH=unknown RUN R -e 'remotes::install_local(upgrade="never")' EXPOSE 80 CMD R -e "options('shiny.port'=80,shiny.host='0.0.0.0');irmara::run_app()"