Skip to content

Commit

Permalink
change paths to run R for conda
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Feb 29, 2024
1 parent f79c8af commit 87d80da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p /root/miniconda \
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
&& PATH="/root/miniconda/bin:$PATH" \
&& conda install r-base r-dplyr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge \
&& conda config --set auto_activate_base true
&& conda init \
&& conda install r-base r-dplyr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge

WORKDIR /workspace
COPY _targets.R functions.R /workspace/

CMD bash -c "R -e 'sessionInfo(); list.files(); targets::tar_make();'"
CMD PATH=/root/miniconda/bin:$PATH && R -e "sessionInfo(); list.files(); targets::tar_make();"

0 comments on commit 87d80da

Please sign in to comment.