Dockerfile 375 Bytes
Newer Older
1
FROM python:3.7-stretch
2 3 4 5
LABEL maintainer="admin-validata@jailbreak.paris"

EXPOSE 5000

6 7 8 9
RUN pip install gunicorn==19.9.0

RUN apt-get update && \
  apt-get install --yes chromium=73.0.3683.75-1~deb9u1
10 11 12 13 14 15 16 17 18 19

WORKDIR /app

COPY requirements.txt .
RUN pip install --requirement requirements.txt

COPY . .
RUN pip install --editable .

CMD gunicorn --bind 0.0.0.0:5000 validata_ui:app