Python Docker Image
This image is based on Debian Jessie, contains packages required to build most of the popular Python libraries and can be used as a base image.
Dockerfile based on this image that copies your application code, installs dependencies, and declares an command or entrypoint:
FROM rroemhild/python:2.7 RUN virtualenv /env ENV VIRTUAL_ENV=/env \ PATH=/env/bin:$PATH ADD requirements.txt /app/requirements.txt RUN pip install -r /app/requirements.txt ADD . /app CMD ["python", "/app/production.py"]
- See LICENSE