diff --git a/stubs/devcontainer.stub b/stubs/devcontainer.stub index b96384fb..8c50844a 100644 --- a/stubs/devcontainer.stub +++ b/stubs/devcontainer.stub @@ -19,6 +19,7 @@ } }, "remoteUser": "sail", + "initializeCommand": "docker run --rm -u \"$(id -u):$(id -g)\" -v \"$(pwd):/var/www/html\" -w /var/www/html laravelsail/php83-composer:latest composer install --ignore-platform-reqs", "postCreateCommand": "chown -R 1000:1000 /var/www/html 2>/dev/null || true" // "forwardPorts": [], // "runServices": [],