Stack detection fix

This commit is contained in:
Timmy
2026-06-29 13:14:06 +01:00
parent 146205c83b
commit b662a7da95
3 changed files with 22 additions and 9 deletions
@@ -154,8 +154,8 @@ pub async fn handle_project_rebuild(
}
// ── 3. Build new image ───────────────────────────────────────────────────
let stacks_dir = config_dir.join("docker").join("stacks");
let (resolved_stack, _warnings) = super::new_project::detect_stack(host_path, &stacks_dir);
let (resolved_stack, _warnings) =
super::new_project::detect_stack(host_path, &super::new_project::stacks_dir());
let base_image = super::new_project::image_for_stack(resolved_stack.as_deref());
let image = match super::new_project::build_project_image(host_path, &base_image, name).await {