fix(outline): prevent corepack interactive prompt blocking installation (#10973)

- Add COREPACK_ENABLE_DOWNLOAD_PROMPT=0 to skip yarn download confirmation
- Fixes installation hanging on 'Configuring Outline (Patience)'
This commit is contained in:
CanbiZ (MickLesk)
2026-01-19 21:46:18 +01:00
committed by GitHub
parent c8c1c454ce
commit 0edd8fcfe3
2 changed files with 4 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ sed -i 's/redis:6379/localhost:6379/g' /opt/outline/.env
sed -i "5s#URL=#URL=http://${LOCAL_IP}#g" /opt/outline/.env
sed -i 's/FORCE_HTTPS=true/FORCE_HTTPS=false/g' /opt/outline/.env
export NODE_OPTIONS="--max-old-space-size=3584"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
$STD corepack enable
$STD yarn install --immutable
export NODE_ENV=production