-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
56 lines (50 loc) · 1.07 KB
/
docker-bake.hcl
File metadata and controls
56 lines (50 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
variable "TAG" {
default = "slim"
}
# Common settings for all targets
target "common" {
context = "."
platforms = ["linux/amd64"]
args = {
BUILDKIT_INLINE_CACHE = "1"
}
}
# Regular ComfyUI image (CUDA 12.4)
target "regular" {
inherits = ["common"]
dockerfile = "Dockerfile"
tags = [
"runpod/comfyui:${TAG}",
"runpod/comfyui:latest",
]
}
# Dev image for local testing
target "dev" {
inherits = ["common"]
dockerfile = "Dockerfile"
tags = ["runpod/comfyui:dev"]
output = ["type=docker"]
}
# Dev push targets (for CI pushing dev tags, without overriding latest)
target "devpush" {
inherits = ["common"]
dockerfile = "Dockerfile"
tags = ["runpod/comfyui:dev"]
}
target "devpush5090" {
inherits = ["common"]
dockerfile = "Dockerfile.5090"
tags = ["runpod/comfyui:dev-5090"]
}
# RTX 5090 optimized image (CUDA 12.8 + latest PyTorch build)
target "rtx5090" {
inherits = ["common"]
dockerfile = "Dockerfile.5090"
args = {
START_SCRIPT = "start.5090.sh"
}
tags = [
"runpod/comfyui:${TAG}-5090",
"runpod/comfyui:latest-5090",
]
}