Divent/Dockerfile

13 lines
223 B
Docker
Raw Permalink Normal View History

FROM python:3.12-slim AS build
2022-05-08 14:02:19 +00:00
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
FROM python:3.12-slim
2022-05-08 14:02:19 +00:00
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD ["divent"]