feat: add production start script for Docker deployment

This commit is contained in:
Rémi 2025-01-02 21:08:28 +01:00
parent 1c19158771
commit 7fc3e14612

View File

@ -10,7 +10,7 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:prod": "docker compose up --force-recreate -d",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
"migrate:dev": "npx prisma migrate dev",