Divent/Dockerfile
Michel Roux 4698736c57
All checks were successful
continuous-integration/drone/push Build is passing
Loop OK /o/
2022-08-22 21:13:44 +00:00

13 lines
243 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 ["python", "-m", "divent"]