Last active
January 10, 2017 19:26
-
-
Save kennethreitz/f192420f1079366d91ca3d02658ceb6b to your computer and use it in GitHub Desktop.
Example dockerfile for using scikit-learn on heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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