Skip to content

Instantly share code, notes, and snippets.

@chekunkov
Created November 24, 2014 19:41
Show Gist options
  • Save chekunkov/e3fd3e0df5b2ad397180 to your computer and use it in GitHub Desktop.
Save chekunkov/e3fd3e0df5b2ad397180 to your computer and use it in GitHub Desktop.
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