Created
August 8, 2014 10:05
-
-
Save muffinresearch/ce889f7e5e9770571a4b to your computer and use it in GitHub Desktop.
Webpay Dockerfile example
This file contains 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 mozillamarketplace/centos-python27-mkt:0.5 | |
RUN mkdir -p /pip/{cache,build} | |
ADD requirements /pip/requirements | |
# Setting cwd to /pip ensures egg-links for git installed deps are created in /pip/src | |
WORKDIR /pip | |
RUN pip install -b /pip/build --download-cache /pip/cache --no-deps -r /pip/requirements/docker.txt | |
EXPOSE 2601 | |
ADD . /srv/webpay | |
WORKDIR /srv/webpay | |
CMD python manage.py runserver 0.0.0.0:2601 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment