Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Application-specific sample Dockerfile (inherits from a container generated via https://gist.github.com/mikeclarke/7620172)
FROM <your private Docker repository>/python-base
MAINTAINER Mike Clarke <mike@standardtreasury.com>
ADD . /opt/app
RUN virtualenv --no-site-packages /opt/app/venv
RUN /opt/app/venv/bin/pip install -r /opt/app/requirements.txt
WORKDIR /opt/app
ENTRYPOINT ["/opt/app/env.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment