Compare commits
2 commits
88f801cadb
...
e35bc3852b
Author | SHA1 | Date | |
---|---|---|---|
e35bc3852b | |||
7b3aa25c95 |
3 changed files with 9 additions and 11 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,11 @@
|
||||||
FROM alpine:3.18 AS build
|
FROM python:3.13-alpine AS build
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN apk add --no-cache python3 py3-build py3-hatchling && \
|
RUN pip install build hatchling && \
|
||||||
python3 -m build .
|
python3 -m build .
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM python:3.13-alpine
|
||||||
COPY --from=build /build/dist/ /mnt
|
COPY --from=build /build/dist/ /mnt
|
||||||
RUN apk add --no-cache python3 py3-pip && \
|
RUN pip install /mnt/comfy_recipes-*-py3-none-any.whl && \
|
||||||
pip install /mnt/comfy_recipes-*-py3-none-any.whl && \
|
|
||||||
apk del py3-pip && \
|
|
||||||
rm -r /mnt
|
rm -r /mnt
|
||||||
ENTRYPOINT ["/usr/bin/recipes-cli"]
|
ENTRYPOINT ["/usr/bin/recipes-cli"]
|
||||||
|
|
|
@ -17,12 +17,12 @@ pip install dist/comfy-recipes-*-py3-none-any.whl
|
||||||
|
|
||||||
## Building the docker container
|
## Building the docker container
|
||||||
```sh
|
```sh
|
||||||
docker build -t codeberg.org/comfy.city/comfy-recipes .
|
docker buildx build -t git.comfy.city/Emi/comfy-recipes:local .
|
||||||
```
|
```
|
||||||
|
|
||||||
The container can now be ran
|
The container can now be ran
|
||||||
```sh
|
```sh
|
||||||
docker run --rm codeberg.org/comfy.city/comfy-recipes
|
docker run --rm git.comfy.city/Emi/comfy-recipes:local
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building the documentation
|
## Building the documentation
|
||||||
|
|
|
@ -17,9 +17,9 @@ classifiers = [
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://codeberg.org/comfy.city/comfy-recipes"
|
Homepage = "https://git.comfy.city/Emi/comfy-recipes"
|
||||||
Repository = "https://codeberg.org/comfy.city/comfy-recipes.git"
|
Repository = "https://git.comfy.city/Emi/comfy-recipes.git"
|
||||||
Issues = "https://codeberg.org/comfy.city/comfy-recipes/issues"
|
Issues = "https://git.comfy.city/Emi/comfy-recipes/issues"
|
||||||
Documentation = "https://comfy.city/comfy-recipes/docs"
|
Documentation = "https://comfy.city/comfy-recipes/docs"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue