瀏覽代碼

Docker tweaks.

Stefano Cossu 6 年之前
父節點
當前提交
ff27a160d0
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 1
      Dockerfile
  2. 1 0
      requirements_dev.txt

+ 2 - 1
Dockerfile

@@ -5,7 +5,8 @@ WORKDIR     /usr/local
 ADD         . lakesuperior
 WORKDIR     /usr/local/lakesuperior
 RUN         git submodule update --init
-RUN         [[ -f lakesuperior/model/base.c ]] || pip install cython
+RUN         [[ -f lakesuperior/model/base.c ]] || \
+                pip install -r requirements_dev.txt
 RUN         pip install -e .
 RUN         cp ./docker/etc/* ./lakesuperior/etc.defaults/
 CMD         ./docker/docker_entrypoint

+ 1 - 0
requirements_dev.txt

@@ -7,6 +7,7 @@ PyYAML>=3.13
 arrow>=0.10.0
 click-log>=0.2.1
 click>=6.7
+cymem>=2.0
 gevent>=1.3.6
 gunicorn>=19.7.1
 matplotlib