Created
February 6, 2014 05:47
-
-
Save tylertreat/8838944 to your computer and use it in GitHub Desktop.
Docker container for a Python WSGI application.
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
# Container for a Python WSGI application. | |
FROM ubuntu:12.04 | |
MAINTAINER Tyler Treat <[email protected]> | |
RUN apt-get update | |
# Install Python tools | |
RUN apt-get install -y python python-dev python-distribute python-pip | |
# Copy application folder to container | |
ADD /application app | |
# Install application requirements | |
RUN pip install -r app/requirements.txt | |
EXPOSE 80 | |
CMD python app/server.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment