Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
|
@@ -36,9 +36,15 @@ RUN pip install --no-cache-dir notebook ipykernel papermill
|
|
| 36 |
# datacreation.ipynb: beautifulsoup4 pandas matplotlib seaborn numpy textblob
|
| 37 |
# pythonanalysis.ipynb: pandas matplotlib seaborn numpy textblob faker transformers vaderSentiment
|
| 38 |
# Most are already in requirements.txt; add the extras:
|
| 39 |
-
RUN pip install --no-cache-dir textblob faker transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
RUN python -m ipykernel install --user --name python3 --display-name "Python 3"
|
| 42 |
|
| 43 |
# R deps for notebook execution via papermill (IRkernel)
|
| 44 |
RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org/')"
|
|
|
|
| 36 |
# datacreation.ipynb: beautifulsoup4 pandas matplotlib seaborn numpy textblob
|
| 37 |
# pythonanalysis.ipynb: pandas matplotlib seaborn numpy textblob faker transformers vaderSentiment
|
| 38 |
# Most are already in requirements.txt; add the extras:
|
| 39 |
+
#RUN pip install --no-cache-dir textblob faker transformers
|
| 40 |
+
|
| 41 |
+
#RUN python -m ipykernel install --user --name python3 --display-name "Python 3"
|
| 42 |
+
# Notebook execution deps
|
| 43 |
+
RUN pip install --no-cache-dir jupyter nbclient jupyter_client ipykernel papermill
|
| 44 |
+
|
| 45 |
+
# Register python3 kernel in this environment (NOT per-user)
|
| 46 |
+
RUN python -m ipykernel install --sys-prefix --name python3 --display-name "Python 3"
|
| 47 |
|
|
|
|
| 48 |
|
| 49 |
# R deps for notebook execution via papermill (IRkernel)
|
| 50 |
RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org/')"
|