Divent/Dockerfile

13 lines
217 B
Docker
Raw Normal View History

2023-02-10 00:17:15 +00:00
FROM python:3.11.2 as build
2022-05-08 14:02:19 +00:00
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
2023-02-10 00:17:15 +00:00
FROM python:3.11.2
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"]