first commit

This commit is contained in:
Patrick 2024-11-16 19:22:55 +01:00
commit b40d5a2ee4
15 changed files with 1161 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM python:alpine
WORKDIR /usr/local/app
COPY src ./
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
RUN adduser -D app
USER app
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]