run in docker

This commit is contained in:
Mateusz Gruszczyński
2025-09-21 22:49:40 +02:00
parent 528b49f78e
commit e1202f3c13
2 changed files with 31 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
COPY run_waitress.py /run_waitress.py
RUN chmod +x /run_waitress.py
EXPOSE 8000
ENTRYPOINT ["/run_waitress.py"]