Divent/Dockerfile
Michel Roux cdc11b0201
All checks were successful
divent / lint (push) Successful in 1m31s
divent / docker (push) Successful in 35s
divent / pypi (push) Successful in 1m1s
chore: ⬆️ upgrade dep
2025-02-08 16:11:56 +01:00

13 lines
227 B
Docker

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