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:
committed by
GitHub
parent
c8c1c454ce
commit
0edd8fcfe3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user