Last active
June 14, 2016 19:20
-
-
Save pgjones/724bf01dea019a3bdac6 to your computer and use it in GitHub Desktop.
Initial docker file parts for a python3 app
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 debian:jessie | |
RUN apt-get update && apt-get install -y \ | |
python3 python3-dev \ | |
python3-pip \ | |
python3-virtualenv | |
RUN python3 -m virtualenv --python=python3 /ve | |
ENV PATH=/ve/bin:${PATH} | |
COPY requirements.txt /requirements.txt | |
RUN pip install --upgrade setuptools==20.0 pip==8.0.2 | |
RUN pip install -r /requirements.txt | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment