diff --git a/Dockerfile b/Dockerfile index c9bddac..a4621d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ -FROM python:3.13-alpine AS build +FROM alpine:3.18 AS build COPY . /build WORKDIR /build -RUN pip install build hatchling && \ +RUN apk add --no-cache python3 py3-build py3-hatchling && \ python3 -m build . -FROM python:3.13-alpine +FROM alpine:3.18 COPY --from=build /build/dist/ /mnt -RUN pip install /mnt/comfy_recipes-*-py3-none-any.whl && \ +RUN apk add --no-cache python3 py3-pip && \ + pip install /mnt/comfy_recipes-*-py3-none-any.whl && \ + apk del py3-pip && \ rm -r /mnt ENTRYPOINT ["/usr/bin/recipes-cli"] diff --git a/README.md b/README.md index 3e886c8..aa2dec4 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,12 @@ pip install dist/comfy-recipes-*-py3-none-any.whl ## Building the docker container ```sh -docker buildx build -t git.comfy.city/Emi/comfy-recipes:local . +docker build -t codeberg.org/comfy.city/comfy-recipes . ``` The container can now be ran ```sh -docker run --rm git.comfy.city/Emi/comfy-recipes:local +docker run --rm codeberg.org/comfy.city/comfy-recipes ``` ## Building the documentation diff --git a/pyproject.toml b/pyproject.toml index 7cedace..99e6d9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,9 +17,9 @@ classifiers = [ license = { file = "LICENSE" } [project.urls] -Homepage = "https://git.comfy.city/Emi/comfy-recipes" -Repository = "https://git.comfy.city/Emi/comfy-recipes.git" -Issues = "https://git.comfy.city/Emi/comfy-recipes/issues" +Homepage = "https://codeberg.org/comfy.city/comfy-recipes" +Repository = "https://codeberg.org/comfy.city/comfy-recipes.git" +Issues = "https://codeberg.org/comfy.city/comfy-recipes/issues" Documentation = "https://comfy.city/comfy-recipes/docs" [project.scripts]