fix: lancement de la commande npm run build, source directe pour l'image du runner
This commit is contained in:
@@ -28,7 +28,7 @@ resource "null_resource" "build_frontend" {
|
||||
}
|
||||
|
||||
provisioner "local-exec" {
|
||||
command = "cd ${local.frontend_dir} && npm ci && npm run build"
|
||||
command = "cd ${local.frontend_dir} && npm ci && chmod -R +x node_modules/@angular/cli/bin && chmod -R +x node_modules/.bin && npm exec ng build"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,4 @@ terraform {
|
||||
}
|
||||
}
|
||||
|
||||
backend "local" {
|
||||
path = "terraform.tfstate"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user