diff --git a/docker/frontend/entrypoint.sh b/docker/frontend/entrypoint.sh index 4ba6324..2823888 100755 --- a/docker/frontend/entrypoint.sh +++ b/docker/frontend/entrypoint.sh @@ -5,9 +5,10 @@ APP_DIR=/var/www/app FRONTEND_DIR="$APP_DIR/apps/frontend" BACKEND_DIR="$APP_DIR/apps/backend" PUBLIC_DIR="$BACKEND_DIR/public" +PHP_HOST="php" 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" npm ci --prefer-offline --no-audit