mirror of https://github.com/docker/compose.git
13 lines
367 B
Docker
13 lines
367 B
Docker
FROM ubuntu:14.04
|
|
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev
|
|
ADD requirements.txt /code/
|
|
WORKDIR /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 develop
|
|
RUN useradd -d /home/user -m -s /bin/bash user
|
|
RUN chown -R user /code/
|
|
USER user
|