Created
January 26, 2018 14:18
-
-
Save andreleoni/cb77aa1da9708e8ae19c0246954fc122 to your computer and use it in GitHub Desktop.
python / django docker
This file contains hidden or 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 python:3.4-alpine | |
MAINTAINER André Leoni <[email protected]> | |
RUN apk add --update \ | |
python \ | |
python-dev \ | |
py-pip \ | |
build-base \ | |
libpng \ | |
freetype-dev \ | |
libjpeg-turbo-dev \ | |
libpng-dev \ | |
git \ | |
nodejs \ | |
&& npm install -g coffee-script \ | |
&& pip install virtualenv \ | |
&& rm -rf /var/cache/apk/* | |
ENV PYTHONUNBUFFERED 1 | |
RUN mkdir /code | |
WORKDIR /code | |
ADD requirements.txt /code/ | |
RUN python -m pip install --upgrade pip | |
RUN pip install --upgrade setuptools | |
RUN pip install matplotlib | |
RUN pip install numpy | |
# RUN pip install scipy | |
RUN pip install pandas | |
RUN pip install yahoo_finance | |
RUN pip install -r requirements.txt | |
ADD . /code/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment