mirror of
https://github.com/arthur-pbty/portfolio.git
synced 2026-08-01 20:29:43 +02:00
Refactor Docker setup and configuration for development environment
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
// Mode production strict pour React (détecte les erreurs tôt)
|
||||
reactStrictMode: true,
|
||||
|
||||
// Build standalone pour Docker → image finale légère et indépendante
|
||||
output: "standalone",
|
||||
|
||||
// Compression des pages côté serveur (gzip/brotli)
|
||||
compress: true,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user