vost commited on
Commit
be213fe
·
verified ·
1 Parent(s): 7c2f0e4

Upload boot.ps1

Browse files
Files changed (1) hide show
  1. boot.ps1 +4 -0
boot.ps1 CHANGED
@@ -69,6 +69,10 @@ if (-not [Environment]::GetEnvironmentVariable("HF_TOKEN", "User")) {
69
  # --- 5. PREPARAÇÃO DO AMBIENTE DOCKER ---
70
  Write-Host "--- Preparando Infraestrutura ---" -ForegroundColor Cyan
71
 
 
 
 
 
72
  if (-not (docker volume ls -q -f name=Guardians-Share)) {
73
  Write-Host "Criando Volume Compartilhado (Guardians-Share)..." -ForegroundColor Gray
74
  docker volume create Guardians-Share
 
69
  # --- 5. PREPARAÇÃO DO AMBIENTE DOCKER ---
70
  Write-Host "--- Preparando Infraestrutura ---" -ForegroundColor Cyan
71
 
72
+ $CURRENT_PATH = $PSScriptRoot.Replace('\', '/')
73
+ # Define a variável de ambiente para que os containers saibam a raiz do Host
74
+ [Environment]::SetEnvironmentVariable("HOST_AI_LAB_PATH", $CURRENT_PATH, "Process")
75
+
76
  if (-not (docker volume ls -q -f name=Guardians-Share)) {
77
  Write-Host "Criando Volume Compartilhado (Guardians-Share)..." -ForegroundColor Gray
78
  docker volume create Guardians-Share