Omit dev packages.

fix/install-only-production-dependencies
SamTV12345 2023-06-27 22:39:23 +02:00
parent db42f23fcc
commit 9792fffba7
No known key found for this signature in database
GPG Key ID: E63EEC7466038043
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ log "Installing dependencies..."
cd node_modules && cd node_modules &&
{ [ -d ep_etherpad-lite ] || ln -sf ../src ep_etherpad-lite; } && { [ -d ep_etherpad-lite ] || ln -sf ../src ep_etherpad-lite; } &&
cd ep_etherpad-lite && cd ep_etherpad-lite &&
npm ci --no-optional --omit=optional --include=dev --lockfile-version 1 npm ci --no-optional --omit=optional --omit=dev --lockfile-version 1
) || exit 1 ) || exit 1
# Remove all minified data to force node creating it new # Remove all minified data to force node creating it new