Divent/Dockerfile
Michel Roux 214398a144
All checks were successful
divent / lint (push) Successful in 2m8s
divent / docker (push) Successful in 3m53s
divent / pypi (push) Has been skipped
fix: 👷 fix recommandations from docker
2024-11-11 13:47:50 +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"]