2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-26 07:13:34 +01:00

update nodebb

This commit is contained in:
kev
2018-08-25 11:34:33 +08:00
parent 952136400f
commit 82e98b0d3f
7 changed files with 9 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ export NODE_ENV=production
export silent=false
export daemon=false
if [[ "$*" == npm*start* ]]; then
if [[ "$*" == ./nodebb*start* ]]; then
if [ ! -e "$BB_CONTENT/config.json" ]; then
if [ -e "$BB_SOURCE/config.json" ]; then
cp "$BB_SOURCE/config.json" "$BB_CONTENT/config.json"