[2025-04-13] Docker setup

This commit is contained in:
Andrew Conlin 2025-04-13 17:51:23 +01:00
parent c05e550f74
commit aa8c36d4b9
7 changed files with 23 additions and 0 deletions

12
build/Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM python:3-slim
WORKDIR usr/src/app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 80
CMD ["gunicorn","--config", "gunicorn_config.py", "year-progress:app"]