Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dockerfile used for iris model deployment
FROM cloudgear/ubuntu:14.04
MAINTAINER Datmo devs <>
RUN apt-get update; \
apt-get install -y \
python python-pip \
build-essential \
python-dev \
python-setuptools \
python-matplotlib \
libatlas-dev \
curl \
libatlas3gf-base && \
apt-get clean
# Install pip
RUN curl -O && \
python && \
RUN pip install numpy==1.13.1
RUN pip install scipy
RUN pip install -U scikit-learn
RUN pip install seaborn
RUN pip install matplotlib
RUN update-alternatives --set \
/usr/lib/atlas-base/atlas/; \
update-alternatives --set \
# Install CURL
RUN apt-get install curl
# Install other useful Python packages using pip
RUN apt-get update
RUN pip install --upgrade ipython && \
pip install \
ipykernel \
jupyter \
&& \
python -m ipykernel.kernelspec
#Jupyter notebook related configs
COPY /root/.jupyter/
# Jupyter has issues with being run directly:
COPY /home/
RUN pip install flask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.