1 Commits
Author SHA1 Message Date
Hide_D 7e7bde05b8 app에서 php,nodejs package를 사전 준비 2022-04-09 22:28:21 +09:00
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
+3 -2
View File
@@ -13,8 +13,9 @@ services:
web:
build: ./web
restart: always
ports:
- 8080:80
#ports:
# 기본 포트로 사용할 곳 지정. 아래와 같이 사용하면 8080
# - 8080:80
volumes:
- hidche:/var/www/html:ro
- board:/var/www/board:ro
+1 -1
View File
@@ -25,7 +25,7 @@ services:
target: /var/www/html
#For DEV. Set app path as local directory
- type: bind
source: ~/dev_sam/bbs
source: ~/dev_sam/board
target: /var/www/board
app: