Browse Source

Docker tweaks.

Stefano Cossu 5 years ago
parent
commit
ff27a160d0
2 changed files with 3 additions and 1 deletions
  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