From 7fc3e1461207b0157f2bb1c60abfab1609d0f00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Thu, 2 Jan 2025 21:08:28 +0100 Subject: [PATCH] feat: add production start script for Docker deployment --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 919bf5c..ddb6501 100644 --- a/package.json +++ b/package.json @@ -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",