Prechádzať zdrojové kódy

changed postCreateCommand to InitializeCommand

tyson 9 mesiacov pred
rodič
commit
c4e64394d9
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      .devcontainer/devcontainer.json

+ 2 - 2
.devcontainer/devcontainer.json

@@ -12,8 +12,8 @@
 	// For use with PHP or Apache (e.g.php -S localhost:8080 or apache2ctl start)
 	"forwardPorts": [],
 
-	// Use 'postCreateCommand' to run commands after the container is created.
-    "postCreateCommand": "php artisan migrate --force && php artisan db:seed",
+
+    "initializeCommand": "php artisan migrate --force && php artisan db:seed",
 
     "postStartCommand": "git config --global --add safe.directory /var/www/html && npm install && composer install && npm run build && apachectl start",