-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-bake.hcl
53 lines (43 loc) · 1.06 KB
/
docker-bake.hcl
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
variable "REGISTRY" {
default = "docker.io"
}
variable "REGISTRY_USER" {
default = "ashleykza"
}
variable "APP" {
default = "fooocus"
}
variable "RELEASE" {
default = "2.5.3"
}
variable "CU_VERSION" {
default = "121"
}
variable "BASE_IMAGE_REPOSITORY" {
default = "ashleykza/runpod-base"
}
variable "BASE_IMAGE_VERSION" {
default = "2.2.3"
}
variable "CUDA_VERSION" {
default = "12.1.1"
}
variable "TORCH_VERSION" {
default = "2.4.0"
}
variable "PYTHON_VERSION" {
default = "3.10"
}
target "default" {
dockerfile = "Dockerfile"
tags = ["${REGISTRY}/${REGISTRY_USER}/${APP}:${RELEASE}"]
args = {
RELEASE = "${RELEASE}"
BASE_IMAGE = "${BASE_IMAGE_REPOSITORY}:${BASE_IMAGE_VERSION}-python${PYTHON_VERSION}-cuda${CUDA_VERSION}-torch${TORCH_VERSION}"
INDEX_URL = "https://download.pytorch.org/whl/cu${CU_VERSION}"
TORCH_VERSION = "${TORCH_VERSION}+cu${CU_VERSION}"
XFORMERS_VERSION = "0.0.27.post2"
FOOOCUS_VERSION = "v${RELEASE}"
CIVITAI_DOWNLOADER_VERSION = "2.1.0"
}
}