Divent/Dockerfile
Michel Roux fbe2aa37a0
Some checks failed
divent / lint (push) Failing after 1m24s
divent / docker (push) Has been skipped
divent / pypi (push) Has been skipped
fix: ⬇️ downgrade to python 3.12 because of ruff
2024-11-23 20:20:35 +01:00

13 lines
227 B
Docker

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