Commit 102d7447 authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

Set the version number of the Python interpreter and its Elasticsearch client module

parent 47e4f722
Pipeline #3256 passed with stage
in 1 minute and 24 seconds
FROM python:slim
FROM python:3.7-slim
# cf.
RUN apt update && apt install -y curl gnupg
RUN curl -sL | bash -
RUN curl -sL | bash -
RUN apt install -y nodejs
......@@ -10,15 +10,15 @@ COPY requirements.txt .
COPY package.json .
COPY package-lock.json .
RUN pip install -r requirements.txt
RUN npm install
COPY lib/*.py ./lib/
COPY lib/jwt_factory.js ./lib/
COPY templates/*.html ./templates/
RUN pip install -r requirements.txt
RUN npm install
CMD gunicorn --workers=2 -b api:api
CMD gunicorn --workers=2 -b --log-level=debug api:api
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment