Add Dockerfile and docker-compose.yaml

This commit is contained in:
Julius Freudenberger 2023-02-04 10:40:47 +01:00
parent db22341b18
commit 86e508bc9d
3 changed files with 20 additions and 0 deletions

7
Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM python:3.10
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["gunicorn", "-b", "0.0.0.0", "app:app"]