Add installation and entrypoint to dockerfile
This commit is contained in:
parent
ab145b5365
commit
dff9aa6f0c
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue