Skip to content

Commit

Permalink
Add Rhtslib installation step separately to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclyn-taroni committed Oct 25, 2024
1 parent 9a33d0b commit 7f532da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analyses/cell-type-nonETP-ALL-03/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ RUN conda-lock install -n ${ENV_NAME} conda-lock.yml \
# Copy the renv.lock file from the host environment to the image
COPY renv.lock renv.lock

# Temporarily install Rhtslib separately
RUN Rscript -e 'BiocManager::install("Rhtslib")'

# restore from renv.lock file and clean up to reduce image size
RUN Rscript -e 'renv::restore()' \
&& rm -rf ~/.cache/R/renv \
Expand Down

0 comments on commit 7f532da

Please sign in to comment.