Divent/Dockerfile
Renovate Bot 9b11a1164b
Some checks failed
divent / lint (push) Failing after 2m42s
divent / docker (push) Failing after 4m18s
divent / pypi (push) Has been skipped
Update python Docker tag
2023-10-03 06:54:19 +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"]