remove unnecessary code
This commit is contained in:
1 parent
7f8db6d6ee
commit
d469f1b5c8
1 file changed
+2
-1
@@ -5,9 +5,10 @@ APP_DIR=/var/www/app
|
|||||||
FRONTEND_DIR="$APP_DIR/apps/frontend"
|
FRONTEND_DIR="$APP_DIR/apps/frontend"
|
||||||
BACKEND_DIR="$APP_DIR/apps/backend"
|
BACKEND_DIR="$APP_DIR/apps/backend"
|
||||||
PUBLIC_DIR="$BACKEND_DIR/public"
|
PUBLIC_DIR="$BACKEND_DIR/public"
|
||||||
|
PHP_HOST="php"
|
||||||
PHP_PORT=9000
|
PHP_PORT=9000
|
||||||
|
|
||||||
/usr/local/bin/wait-for-it.sh "$BACKEND_DIR:$PHP_PORT" -t 300
|
/usr/local/bin/wait-for-it.sh "$PHP_HOST:$PHP_PORT" -t 300
|
||||||
|
|
||||||
cd "$FRONTEND_DIR"
|
cd "$FRONTEND_DIR"
|
||||||
npm ci --prefer-offline --no-audit
|
npm ci --prefer-offline --no-audit
|
||||||
|
|||||||
Reference in new issue
Block a user