Divent/Dockerfile
Michel Roux 596a261e00
All checks were successful
divent / lint (push) Successful in 3m5s
divent / docker (push) Successful in 3m22s
divent / pypi (push) Has been skipped
chore: update to python 3.12
2024-01-26 11:19:56 +00:00

13 lines
217 B
Docker

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