Divent/Dockerfile
Renovate Bot 8eb8990cf5
Some checks failed
divent / lint (push) Failing after 2m33s
divent / docker (push) Has been skipped
divent / pypi (push) Has been skipped
Update Python
2023-11-07 06:38:43 +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"]