Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter-powered MXNet notebook #53

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
28 changes: 28 additions & 0 deletions ml-notebook/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# FROM mxnet/python
FROM jupyter/pyspark-notebook

LABEL io.whalebrew.name ml-notebook
LABEL io.whalebrew.config.ports '["8888:8888"]'
LABEL io.whalebrew.config.volumes '["${PWD}:~/work"]'

ENV DEBIAN_FRONTEND noninteractive
ENV GRANT_SUDO yes

USER root

RUN apt-get update -y && apt-get install -y python3-pip python3-dev python-tk wget curl unzip tree

# RUN pip3 install --upgrade pip
RUN pip install opencv-python gym awscli seaborn onnx featuretools

# Jupyter needs to create a sub directory in '.local', give the daemon permissions
# RUN mkdir /.local && chmod 777 /.local

USER jovyan

RUN conda update -n base conda
RUN conda install -y -c conda-forge tensorflow mxnet keras xgboost rise
RUN conda install -y -c pytorch pytorch torchvision
RUN mkdir ~/.local && chmod 777 ~/.local

ENTRYPOINT ["/usr/local/bin/start-notebook.sh"]
5 changes: 5 additions & 0 deletions ml-notebook/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Python Notebook with MXNet

**built by jpbarto @ GitHub**

``mxnet-notebook`` is a Jupyter-powered Python 3 notebook with [Apache MXNet](https://mxnet.incubator.apache.org/) and [Gluon](https://mxnet.incubator.apache.org/tutorials/gluon/gluon.html) installed.