Update Docker Compose, Next.js config, and GitHub Actions for optimized CI/CD. Added local build notes, skipped ESLint during CI builds, and modified deployment to use prebuilt artifacts for faster image creation.
This commit is contained in:
1 parent
648777c649
commit
19b75671a0
4 files changed
+84
-11
No files matched your search
@@ -7,6 +7,10 @@ const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
// Babel React Compiler is heavy in Docker/CI; keep it for local `next dev`.
|
||||
reactCompiler: process.env.DISABLE_REACT_COMPILER !== "1",
|
||||
// Skip lint during CI image builds (lint can still run in a separate job later).
|
||||
eslint: {
|
||||
ignoreDuringBuilds: process.env.CI_FAST_BUILD === "1",
|
||||
},
|
||||
experimental: {
|
||||
optimizePackageImports: ["lucide-react"],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user