MamoruDS
3/31/2019 - 12:05 PM

math-notebook.Dockerfile

FROM alpine

RUN apk --no-cache --update-cache \
    add musl linux-headers gcc g++ make gfortran openblas-dev git python3 python3-dev wget \
    freetype-dev libpng-dev
WORKDIR /app/notebooks
RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir scipy jupyter pandas matplotlib
ENV token TOKEN

CMD jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --NotebookApp.token=${token}