There was an error while loading. Please reload this page.
1 parent cb53795 commit 82a8843Copy full SHA for 82a8843
1 file changed
infra/scripts/post-provision/post_deploy.sh
@@ -16,7 +16,12 @@ resource_group=""
16
user_principal_id=""
17
ai_foundry_resource_id=""
18
python_cmd=""
19
-venv_path="$SCRIPT_DIR/scriptenv"
+# Dev container bind-mounts cause OSError on large packages; use $HOME Path instead.
20
+if [ -n "${REMOTE_CONTAINERS:-}" ] || [ -n "${CODESPACES:-}" ] || [ -f "/run/.containerenv" ] || grep -qF "microsoft.com/devcontainers" /etc/os-release 2>/dev/null; then
21
+ venv_path="$HOME/.macae-post-provision-env"
22
+else
23
+ venv_path="$SCRIPT_DIR/scriptenv"
24
+fi
25
26
st_is_public_access_disabled=false
27
srch_is_public_access_disabled=false
0 commit comments