Dockerfile 369 Bytes
Newer Older
Jerome Touvier's avatar
Jerome Touvier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.8-slim
MAINTAINER RESIF DC <resif-dc@univ-grenoble-alpes.fr>
COPY requirements.txt /
RUN pip install --no-cache-dir -r /requirements.txt
RUN pip install --no-cache-dir gunicorn

WORKDIR /appli
COPY start.py config.py ./
COPY apps ./apps/
COPY templates ./templates/
COPY static ./static/

CMD ["/bin/bash", "-c", "gunicorn --bind 0.0.0.0:8000 start:app"]