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

57 lines
1.4 KiB
HCL
Raw Normal View History

2024-07-01 15:57:52 +02:00
group "default" {
2024-08-03 21:26:00 +02:00
targets = ["full-version", "light-version", "testing"]
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.11"
2024-07-27 11:02:51 +02:00
}
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"]
}
2024-08-03 21:26:00 +02:00
target "testing" {
inherits = ["base"]
args = {
INCLUDE_MODELS = "false"
}
contexts = {
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
tags = ["madiator2011/better-comfyui:testing"]
}