GBDB02 commited on
Commit
30a2f48
·
verified ·
1 Parent(s): 485e1d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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/')"