Created
November 24, 2014 19:41
-
-
Save chekunkov/e3fd3e0df5b2ad397180 to your computer and use it in GitHub Desktop.
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 ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && \ | |
apt-get install -y python python-dev python-pip git \ | |
libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libssl-dev | |
RUN mkdir -p /var/log/supervisord /project | |
WORKDIR /project | |
ADD requirements.txt /project/requirements.txt | |
RUN pip install supervisor | |
RUN pip install -r requirements.txt | |
ADD . /project | |
RUN mkdir -p /project/eggs | |
CMD supervisord -c conf/supervisor.conf | |
EXPOSE 9000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment