add Dockerfile
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user