Divent/Dockerfile
Michel Roux e38bfc7472
Some checks are pending
divent / lint (push) Waiting to run
divent / docker (push) Blocked by required conditions
divent / pypi (push) Blocked by required conditions
chore: update docker tag
2024-01-24 12:37:32 +01:00

13 lines
217 B
Docker

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