Divent/Dockerfile
Michel Roux e7d733841c
All checks were successful
divent / lint (push) Successful in 1m51s
divent / docker (push) Successful in 1m52s
divent / pypi (push) Has been skipped
fix: 📦 update deps and use slim images for divent
2024-11-06 22:43:08 +01:00

13 lines
227 B
Docker

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