Skip to content

Commit

Permalink
fix(docker): only use one cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
fxi committed Feb 21, 2025
1 parent efd9229 commit 38c7b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ RUN Rscript -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io
# Configure R repository
RUN echo 'rep <- getOption("repos"); \
rep["CRAN"] <- "https://packagemanager.posit.co/cran/'$R_DATE'"; \
options(Ncpus = 4); \
options(Ncpus = 1); \
options(repos = rep)' > .Rprofile

# Install R packages individually for better error handling and caching
Expand Down

0 comments on commit 38c7b5e

Please # to comment.