Divent/Dockerfile
Michel Roux 2fcc2ee56a
All checks were successful
divent / lint (push) Successful in 1m51s
divent / docker (push) Successful in 33s
divent / pypi (push) Successful in 1m12s
fix: ⬆️ update to python 3.13
2024-12-30 08:18:49 +00:00

13 lines
227 B
Docker

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