feat: add production start script for Docker deployment

This commit is contained in:
Rémi 2025-01-02 21:08:22 +01:00
parent 65cc556080
commit c325305442

View File

@ -7,6 +7,7 @@
"build": "next build", "build": "next build",
"build:docker": "docker build -t toogether/webapp .", "build:docker": "docker build -t toogether/webapp .",
"start": "next start -p 4000", "start": "next start -p 4000",
"start:prod": "docker compose up --force-recreate -d",
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
@ -37,4 +38,4 @@
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5" "typescript": "^5"
} }
} }