app에서 php,nodejs package를 사전 준비

This commit is contained in:
2022-04-09 22:28:21 +09:00
parent 1b26fcadbf
commit 7e7bde05b8
3 changed files with 10 additions and 3 deletions
+6
View File
@@ -15,6 +15,12 @@ if [ ! -f "$samRoot/index.php" ]; then
chown -R www-data:www-data $wwwRoot
gosu www-data git clone $gameGitPath $samRoot
gosu www-data git checkout $gameGitBranch
pushd $samRoot
gosu www-data npm ci
gosu www-data npm run build -- --env target=gateway
gosu www-data php composer.phar install
popd
fi
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then