#!/bin/bash # Clone and install dependencies git clone "$REPO" . npm install npm install cross-blob node-fetch npm i --save-dev @types/busboy @types/uuid @types/unidecode npm ci --production # Node tuning export NODE_OPTIONS=" --max-old-space-size=4096 --max-semi-space-size=1024 --initial-old-space-size=2048 --expose-gc " export NODE_ENV=production # Run server node --enable-source-maps index.js