2024-11-06 21:43:08 +00:00
|
|
|
FROM python:3.13.0-slim as build
|
2022-05-08 14:02:19 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN pip install poetry && poetry build
|
|
|
|
|
2024-11-06 21:43:08 +00:00
|
|
|
FROM python:3.13.0-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"]
|