compose/Dockerfile

14 lines
293 B
Docker

FROM ubuntu:14.04
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
WORKDIR /code/
ADD requirements.txt /code/
RUN pip install -r requirements.txt
ADD requirements-dev.txt /code/
RUN pip install -r requirements-dev.txt
ADD . /code/
RUN python setup.py install