diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1344443 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:3.18 AS build +RUN apk add --no-cache python3 py3-build py3-hatchling +COPY . /build +WORKDIR /build +RUN python3 -m build . + +FROM alpine:3.18 +RUN apk add --no-cache py3-pip +COPY --from=build /build/dist/recipes-*-py3-none-any.whl / +RUN pip install /recipes-*-py3-none-any.whl +ENTRYPOINT ["/usr/bin/recipes-cli"]