Divent/Dockerfile
Michel Roux 8302d087bc
All checks were successful
continuous-integration/drone/push Build is passing
Fix crash build
2022-09-02 10:21:56 +00:00

13 lines
227 B
Docker

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