From c325305442ee1da05c51f945a91e6f2353ede5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Thu, 2 Jan 2025 21:08:22 +0100 Subject: [PATCH] feat: add production start script for Docker deployment --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ee888e..d794267 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build": "next build", "build:docker": "docker build -t toogether/webapp .", "start": "next start -p 4000", + "start:prod": "docker compose up --force-recreate -d", "lint": "next lint" }, "dependencies": { @@ -37,4 +38,4 @@ "tailwindcss": "^3.4.1", "typescript": "^5" } -} +} \ No newline at end of file