Divent/Dockerfile
Michel Roux 619438867a
All checks were successful
divent / lint (push) Successful in 1m31s
divent / docker (push) Successful in 1m23s
divent / pypi (push) Has been skipped
fix: ⬇️ downgrade to python 3.12 because of ruff
2024-11-23 20:30:26 +01:00

13 lines
223 B
Docker

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