FROM jupyter/scipy-notebook:hub-1.5.0

# Install from APT repository
USER root
RUN apt-get update -y
RUN apt-get install -y git

# Install basics
USER jovyan
RUN pip3 install --upgrade pip

# Install python packages
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt