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
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ RUN pip install -r requirements.txt
ADD requirements-dev.txt /code/ ADD requirements-dev.txt /code/
RUN pip install -r requirements-dev.txt RUN pip install -r requirements-dev.txt
ADD . /code/ ADD . /code/
RUN python setup.py develop
RUN useradd -d /home/user -m -s /bin/bash user RUN useradd -d /home/user -m -s /bin/bash user
RUN chown -R user /code/ RUN chown -R user /code/
USER user USER user
ENTRYPOINT /usr/local/bin/fig