1
0
mirror of https://github.com/docker/docs.git synced 2026-10-31 10:34:26 +03:00

Add installation and entrypoint to dockerfile

This commit is contained in:
Ben Firshman
2014-05-05 10:50:23 +01:00
parent ab145b5365
commit dff9aa6f0c

View File

@@ -5,6 +5,8 @@ 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
ENTRYPOINT /usr/local/bin/fig