madiator-docker-runpod/official-templates/better-comfyui/docker-bake.hcl

44 lines
1.1 KiB
HCL
Raw Normal View History

2024-07-01 15:57:52 +02:00
group "default" {
2024-07-27 11:02:51 +02:00
targets = ["full-version", "light-version", "light-experimental"]
2024-07-01 15:57:52 +02:00
}
2024-07-27 11:02:51 +02:00
target "base" {
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "madiator2011/better-base:cuda12.1",
TORCH = "torch==2.3.0+cu121 -f https://download.pytorch.org/whl/torch_stable.html",
PYTHON_VERSION1 = "3.10"
}
2024-07-01 15:57:52 +02:00
contexts = {
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
2024-07-27 11:02:51 +02:00
}
target "full-version" {
inherits = ["base"]
args = {
INCLUDE_MODELS = "true"
}
contexts = {
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
tags = ["madiator2011/better-comfyui:full"]
}
target "light-version" {
inherits = ["base"]
args = {
INCLUDE_MODELS = "false"
}
contexts = {
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
tags = ["madiator2011/better-comfyui:light"]
}