chore: add container configuration with Dockerfile, docker-compose and makefile for deployment

This commit is contained in:
Esa Kataja
2025-08-04 15:55:30 +03:00
parent bfe9a2b835
commit 7de4eedcb0
3 changed files with 33 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
COPY pyproject.toml uv.lock /app/
RUN uv sync --locked
COPY src .
EXPOSE 8000
CMD ["uv", "run", "main.py"]