Divent/Dockerfile
Renovate Bot 1a74e4428a
All checks were successful
divent / lint (push) Successful in 2m31s
divent / docker (push) Successful in 2m31s
divent / pypi (push) Has been skipped
chore(deps): update python docker tag to v3.12.2
2024-02-08 06:40:42 +00:00

13 lines
217 B
Docker

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