mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-10 07:11:00 +00:00
26 lines
486 B
HCL
26 lines
486 B
HCL
|
APP_NAME="custom_app"
|
||
|
|
||
|
variable "FRAPPE_VERSION" {}
|
||
|
|
||
|
group "default" {
|
||
|
targets = ["backend", "frontend"]
|
||
|
}
|
||
|
|
||
|
target "backend" {
|
||
|
dockerfile = "backend.Dockerfile"
|
||
|
tags = ["custom_app/worker:latest"]
|
||
|
args = {
|
||
|
"FRAPPE_VERSION" = FRAPPE_VERSION
|
||
|
"APP_NAME" = APP_NAME
|
||
|
}
|
||
|
}
|
||
|
|
||
|
target "frontend" {
|
||
|
dockerfile = "frontend.Dockerfile"
|
||
|
tags = ["custom_app/nginx:latest"]
|
||
|
args = {
|
||
|
"FRAPPE_VERSION" = FRAPPE_VERSION
|
||
|
"APP_NAME" = APP_NAME
|
||
|
}
|
||
|
}
|