Skip to content
Snippets Groups Projects
Commit dc12809b authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add uwsgi to run the server in production

parent 597a8a1e
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment