Compare commits

..

No commits in common. "e35bc3852b47dfd70286f5210eb7a893c1389aa6" and "88f801cadbe176ef06fb790757612b39dd3d5e54" have entirely different histories.

3 changed files with 11 additions and 9 deletions

View file

@ -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"]

View file

@ -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

View file

@ -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]