Commit 43b6c1df authored by Dorchies David's avatar Dorchies David
Browse files

fix: partial rebuild docker container

Refs rvgest#1
parent 0ed0db9c
Pipeline #21915 passed with stage
in 8 minutes and 55 seconds
......@@ -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()"
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