소스 검색

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",