Compare commits
1
Commits
for_v0.33
...
pre-package
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e7bde05b8 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user