diff --git a/Dockerfile b/Dockerfile index a4621d8..c9bddac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ -FROM alpine:3.18 AS build +FROM python:3.13-alpine AS build COPY . /build WORKDIR /build -RUN apk add --no-cache python3 py3-build py3-hatchling && \ +RUN pip install build hatchling && \ python3 -m build . -FROM alpine:3.18 +FROM python:3.13-alpine COPY --from=build /build/dist/ /mnt -RUN apk add --no-cache python3 py3-pip && \ - pip install /mnt/comfy_recipes-*-py3-none-any.whl && \ - apk del py3-pip && \ +RUN pip install /mnt/comfy_recipes-*-py3-none-any.whl && \ rm -r /mnt ENTRYPOINT ["/usr/bin/recipes-cli"]