[2025-04-13] Docker setup
This commit is contained in:
parent
c05e550f74
commit
aa8c36d4b9
7 changed files with 23 additions and 0 deletions
12
build/Dockerfile
Normal file
12
build/Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue