Divent/Dockerfile
Michel Roux 8fd4e8f243
All checks were successful
continuous-integration/drone/push Build is passing
Do not use slim image anymore
2022-10-26 14:02:48 +00:00

13 lines
217 B
Docker

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