RMI-PACTA / workflow.data.preparation

The goal of `workflow.data.preparation` is to prepare all of the necessary data inputs for the Transition Monitor web application.
Other
2 stars 0 forks source link

Explicitly COPY only needed files in Docker build #173

Closed AlexAxthelm closed 8 months ago

AlexAxthelm commented 8 months ago

See: https://github.com/RMI-PACTA/pacta.data.preparation/pull/342#issuecomment-1964149159

As only a few files from this repo are needed in the docker image to run, consider only COPYing those files.

Would also allow for a more permissive .dockerignore

Relates to #129

cjyetman commented 8 months ago

so this would likely be just changing this line to only copy in config.yml and run_pacta_data_preparation.R I think (currently anyway) https://github.com/RMI-PACTA/workflow.data.preparation/blob/eba71aeb3c4670e5b0f2a26ec2d4c676e8d8d5fa/Dockerfile#L20