Divent/Dockerfile
Michel Roux 1efb07c7cc
All checks were successful
continuous-integration/drone/push Build is passing
Update python Docker tag to v3.11.2
2023-02-10 00:17:15 +00:00

13 lines
217 B
Docker

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