FROM ubuntu:16.04 RUN apt-get update \ && apt-get install -y python-pip build-essential \ && apt-get -y autoremove \ && apt-get -y clean \ && rm -rf /var/lib/apt/lists/* RUN pip install pip -U \ && pip install jupyter numpy scipy pandas sklearn matplotlib plotly altair \ && rm -r /root/.cache/pip ADD log2sql.py /app CMD jupyter-notebook --ip="*" --no-browser --allow-root