Divent/Dockerfile
2022-06-17 11:07:10 +02:00

13 lines
243 B
Docker

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