mirror of
https://github.com/abusoww/tuxmate.git
synced 2026-04-20 12:55:36 +02:00
fix: use static export for both CF Pages and Docker
- Set output: 'export' in next.config.ts (creates /out directory) - Replaced Node.js standalone Dockerfile with nginx serving static files - Updated docker-compose.yml for nginx (port 80) - Both CF Pages and Docker now use the same static build
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"build:static": "STATIC_EXPORT=true next build",
|
||||
"pages:build": "STATIC_EXPORT=true npm run build",
|
||||
"start": "next start",
|
||||
"lint": "eslint",
|
||||
"test": "vitest run",
|
||||
|
||||
Reference in New Issue
Block a user