Skip to content

Instantly share code, notes, and snippets.

@pgjones
Last active June 14, 2016 19:20
Show Gist options
  • Save pgjones/724bf01dea019a3bdac6 to your computer and use it in GitHub Desktop.
Save pgjones/724bf01dea019a3bdac6 to your computer and use it in GitHub Desktop.
Initial docker file parts for a python3 app
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