diff --git a/app/Dockerfile b/app/Dockerfile index bd62ad5..a283542 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -33,7 +33,7 @@ COPY --from=base /app . # Install omopcat package # Put package in a subdirectory to avoid overwriting renv files from previous stage -ADD app ./pkg +COPY app ./pkg RUN R -e 'devtools::install("pkg", dependencies = FALSE)' EXPOSE 3838 diff --git a/preprocessing/Dockerfile b/preprocessing/Dockerfile index 93cb7a7..50725be 100644 --- a/preprocessing/Dockerfile +++ b/preprocessing/Dockerfile @@ -29,7 +29,7 @@ COPY --from=base /pkg . # Install omopcat.preprocessing package # Put package in a subdirectory to avoid overwriting renv files from previous stage -ADD preprocessing ./pkg +COPY preprocessing ./pkg RUN R -e 'devtools::install("pkg", dependencies = FALSE)' CMD ["R", "-e", "omopcat.preprocessing::preprocess()"]