Stabilize Docker npm installs with legacy peer deps
This commit is contained in:
@@ -10,7 +10,7 @@ flock 9
|
||||
|
||||
# Worker container starts from clean image.
|
||||
# Install deps without frontend postinstall hooks (nuxt prepare) to keep worker lean/stable.
|
||||
npm install --ignore-scripts
|
||||
npm install --ignore-scripts --legacy-peer-deps
|
||||
ARCH="$(uname -m)"
|
||||
if [ "$ARCH" = "aarch64" ] || [ "$ARCH" = "arm64" ]; then
|
||||
npm rebuild sharp --platform=linux --arch=arm64v8 \
|
||||
|
||||
Reference in New Issue
Block a user