Просмотр исходного кода

changed postCreateCommand to InitializeCommand

tyson 9 месяцев назад
Родитель
Сommit
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)
 	// For use with PHP or Apache (e.g.php -S localhost:8080 or apache2ctl start)
 	"forwardPorts": [],
 	"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",
     "postStartCommand": "git config --global --add safe.directory /var/www/html && npm install && composer install && npm run build && apachectl start",