-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b49c67c
commit e5a1e9c
Showing
5 changed files
with
4,927 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM jupyter/minimal-notebook | ||
|
||
USER root | ||
|
||
# libav-tools for matplotlib anim | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends libav-tools git && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
USER $NB_USER | ||
|
||
# Install Python 3 packages | ||
# Remove pyqt and qt pulled in for matplotlib since we're only ever going to | ||
# use notebook-friendly backends in these images | ||
RUN conda install --quiet --yes \ | ||
'pandas=0.18*' \ | ||
'matplotlib=1.5*' \ | ||
'scipy=0.17*' \ | ||
'seaborn=0.7*' \ | ||
'graphviz=2.38.*' \ | ||
'patsy=0.4*' \ | ||
'scikit-learn=0.17*' \ | ||
'scikit-image=0.11*' \ | ||
'statsmodels=0.6*' \ | ||
'cloudpickle=0.1*' \ | ||
'numba=0.23*' \ | ||
'bokeh=0.11*' && \ | ||
conda clean -tipsy | ||
|
||
# Add shortcuts to distinguish pip for python2 and python3 envs | ||
RUN ln -s $CONDA_DIR/envs/python2/bin/pip $CONDA_DIR/bin/pip2 && \ | ||
ln -s $CONDA_DIR/bin/pip $CONDA_DIR/bin/pip3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '2' | ||
|
||
services: | ||
jupyter: | ||
container_name: ml-tutorial | ||
image: ml-tutorial | ||
build: | ||
context: . | ||
working_dir: /notebooks | ||
ports: | ||
- "8888:8888" | ||
volumes: | ||
- ./notebooks/:/notebooks |
Oops, something went wrong.