add Dockerfile

This commit is contained in:
2024-09-14 21:46:21 +02:00
parent b1a1fb7c94
commit cdc64afd1f
4 changed files with 31 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
COPY uv.lock pyproject.toml ./
RUN uv sync --frozen
COPY ./simulation simulation
ENTRYPOINT [ "uv", "run", "python", "-m", "simulation.app" ]