This commit is contained in:
Justine Pelletreau
2022-04-04 12:55:23 +02:00
commit c923e4b7f2
1421 changed files with 270965 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3-slim-bullseye
WORKDIR /app
COPY ./src/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
VOLUME ["/app/data"]
COPY ./src /app
EXPOSE 8080
ENV FLASK_APP=app
CMD [ "python", "-m" , "flask", "run", "--host=0.0.0.0", "--port=8080" ]