Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -21,10 +21,11 @@ RUN apt-get clean all && \
|
|
| 21 |
apt-get purge && \
|
| 22 |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
| 23 |
|
|
|
|
| 24 |
RUN Rscript -e "install.packages(c('tidymodels', 'tidyverse', 'ggcorrplot', 'readxl', 'skimr'));"
|
| 25 |
|
| 26 |
# the rstudio/ path is set for building with GitHub Actions
|
| 27 |
-
|
| 28 |
-
|
| 29 |
|
| 30 |
WORKDIR /home/rstudio
|
|
|
|
| 21 |
apt-get purge && \
|
| 22 |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
| 23 |
|
| 24 |
+
USER rstudio
|
| 25 |
RUN Rscript -e "install.packages(c('tidymodels', 'tidyverse', 'ggcorrplot', 'readxl', 'skimr'));"
|
| 26 |
|
| 27 |
# the rstudio/ path is set for building with GitHub Actions
|
| 28 |
+
COPY --chown=rstudio:rstudio rstudio/rstudio-prefs.json /home/rstudio/.config/rstudio
|
| 29 |
+
COPY --chown=rstudio:rstudio rstudio/.Rprofile /home/rstudio/
|
| 30 |
|
| 31 |
WORKDIR /home/rstudio
|