Преглед изворни кода

changed postCreateCommand to InitializeCommand

tyson пре 9 месеци
родитељ
комит
c4e64394d9
1 измењених фајлова са 2 додато и 2 уклоњено
  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",