浏览代码

Add installation and entrypoint to dockerfile

Ben Firshman 11 年之前
父节点
当前提交
dff9aa6f0c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -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