app-peaceful-lobster-dive/nixpacks.toml

17 lines
341 B
TOML

# Force npm build with sharp pre-built binaries
[variables]
SHARP_IGNORE_GLOBAL_LIBVIPS = "1"
npm_config_platform = "linux"
npm_config_arch = "x64"
npm_config_libc = "glibc"
CI = "true"
[phases.install]
cmds = ['npm install --prefer-offline --no-audit --progress=false']
[phases.build]
cmds = ['npm run build']
[start]
cmd = 'npm start'