Divent/Dockerfile
Renovate Bot cdf1d911e6
Some checks failed
divent / lint (push) Failing after 2m1s
divent / docker (push) Has been skipped
divent / pypi (push) Has been skipped
Update python Docker tag
2023-10-18 07:04:08 +00:00

13 lines
217 B
Docker

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