hopes and dreams

This commit is contained in:
Patrick 2024-11-12 22:07:35 +01:00
parent e3b1ac8bd1
commit 8f021fabf3
9 changed files with 23 additions and 26 deletions

12
Dockerfile Normal file
View file

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