diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..1a4c480f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.12-slim + +WORKDIR /app + +RUN pip install --no-cache-dir poetry + +COPY pyproject.toml poetry.lock* ./ + +RUN poetry install --no-root + +COPY . . + +RUN poetry install + +CMD ["poetry", "run", "python"]