diff --git a/Dockerfile b/Dockerfile index ae9d20c7a5ea2347224651a201d8c9cfe117b77e..0d66256e06aa0cdb07a2dc18dcb310783f54b9af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,13 @@ RUN groupadd -r ics && useradd -r -g ics ics WORKDIR /app +# uwsgi is currently not available on conda-forge +# for Python 3.6 - it needs to be installed with pip +# and that requires gcc +RUN apt-get update && apt-get install -y \ + gcc \ + && rm -rf /var/lib/apt/lists/* + # Install inventory requirements COPY environment.yml /app/environment.yml RUN conda config --add channels conda-forge \ diff --git a/environment.yml b/environment.yml index 108dce44bb330172519eabb9bdc9c6a42b1b6b1c..8c802bcfb04d6a9b7cb2308d08937de4d731685c 100644 --- a/environment.yml +++ b/environment.yml @@ -64,4 +64,5 @@ dependencies: - sqlalchemy-citext==1.3.post0 - sqlalchemy-continuum==1.3.1 - sqlalchemy-utils==0.32.14 + - uwsgi==2.0.15 - visitor==0.1.3