Divent/Dockerfile
Renovate Bot 9a41f8d8e8
Some checks failed
divent / lint (push) Failing after 3s
divent / docker (push) Has been skipped
divent / pypi (push) Has been skipped
chore(deps): update python to v3.13.2
2025-02-07 00:03:11 +00:00

13 lines
227 B
Docker

FROM python:3.13.2-slim AS build
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
FROM python:3.13.2-slim
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD ["divent"]