Skip to content

Instantly share code, notes, and snippets.

@jdevoo
Created April 6, 2022 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdevoo/1cfe290ba67a11ffe5eff03ae892f04e to your computer and use it in GitHub Desktop.
Save jdevoo/1cfe290ba67a11ffe5eff03ae892f04e to your computer and use it in GitHub Desktop.
FROM debian:stable-slim
RUN mkdir /app
WORKDIR /app
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt update && apt install -y --no-install-recommends \
python3 \
curl \
ca-certificates \
build-essential \
python3-dev \
python3-distutils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
python3 get-pip.py && \
rm get-pip.py
RUN python3 -m pip install -U numpy
RUN python3 -m pip install -U jupyter
RUN python3 -m pip install -U scikit-multiflow
RUN python3 -m pip install -U river
RUN python3 -m pip install -U nbresuse
EXPOSE 8888
CMD jupyter notebook --ip 0.0.0.0 --no-browser --allow-root --NotebookApp.token=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment