Divent/Dockerfile
Renovate Bot 304e8e31ff
All checks were successful
divent / lint (push) Successful in 2m31s
divent / docker (push) Successful in 2m1s
divent / pypi (push) Has been skipped
Update python Docker tag to v3.11.5
2023-08-26 06:39:47 +00:00

13 lines
217 B
Docker

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