Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Example dockerfile for using scikit-learn on heroku
FROM continuumio/miniconda
WORKDIR /app
# Disable Intel optimizations (takes a lot of extra space).
RUN conda install nomkl
# Install scientific dependencies.
RUN conda install scikit-learn
RUN conda install pandas
RUN conda install scipy
# Support for requirements.txt files.
COPY . /app
RUN pip install -r /app/requirements.txt
ONBUILD ADD . /app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment