Update Dockerfile
Browse files- Dockerfile +11 -1
Dockerfile
CHANGED
|
@@ -42,7 +42,17 @@ RUN pip install --no-cache-dir textblob faker transformers
|
|
| 42 |
RUN python -m ipykernel install --sys-prefix --name python3 --display-name "Python 3"
|
| 43 |
|
| 44 |
# R kernel (system-wide, explicit name)
|
| 45 |
-
RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org/')"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
RUN R -e "IRkernel::installspec(user = FALSE, name = 'ir', displayname = 'R')"
|
| 47 |
|
| 48 |
#RUN python -m ipykernel install --user --name python3 --display-name "Python 3"
|
|
|
|
| 42 |
RUN python -m ipykernel install --sys-prefix --name python3 --display-name "Python 3"
|
| 43 |
|
| 44 |
# R kernel (system-wide, explicit name)
|
| 45 |
+
# RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org/')"
|
| 46 |
+
# RUN R -e "IRkernel::installspec(user = FALSE, name = 'ir', displayname = 'R')"
|
| 47 |
+
|
| 48 |
+
# R packages needed by ranalysis.ipynb
|
| 49 |
+
RUN R -e "install.packages( \
|
| 50 |
+
c('readr','dplyr','stringr','tidyr','lubridate', \
|
| 51 |
+
'ggplot2','forecast','broom','jsonlite'), \
|
| 52 |
+
repos='https://cloud.r-project.org')"
|
| 53 |
+
|
| 54 |
+
# IRkernel for Jupyter / papermill, kernel name 'ir'
|
| 55 |
+
RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org')"
|
| 56 |
RUN R -e "IRkernel::installspec(user = FALSE, name = 'ir', displayname = 'R')"
|
| 57 |
|
| 58 |
#RUN python -m ipykernel install --user --name python3 --display-name "Python 3"
|