From bdca1b1e18fd219c1785bbbd1751b4e3ccd69e0b Mon Sep 17 00:00:00 2001 From: Dorchies David <david.dorchies@inrae.fr> Date: Mon, 26 Apr 2021 15:28:47 +0200 Subject: [PATCH] ci: debug path issue for rmarkdown rendering Refs #23 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8db14c4..3e7f15d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN mkdir /build_zone ADD . /build_zone WORKDIR /build_zone RUN R -e 'remotes::install_local(upgrade="never")' -RUN R -e 'rmarkdown::render(file.path(irmara:::app_sys("app/www/documentation/documentation.Rmd")))' +RUN R -e 'cat(irmara:::app_sys("app/www/documentation/documentation.Rmd")); list.files(irmara:::app_sys("app/www/documentation"))' +RUN R -e 'rmarkdown::render(irmara:::app_sys("app/www/documentation/documentation.Rmd"))' EXPOSE 80 CMD R -e "options('shiny.port'=80,shiny.host='0.0.0.0');irmara::run_app()" -- GitLab