Divent/Dockerfile
Renovate Bot 6e1b78f7c9
All checks were successful
divent / lint (push) Successful in 2m55s
divent / docker (push) Successful in 2m13s
divent / pypi (push) Has been skipped
chore(deps): update python docker tag to v3.12.5
2024-08-08 06:27:21 +00:00

13 lines
217 B
Docker

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