Spaces:
Sleeping
Sleeping
Commit ·
dd496bc
1
Parent(s): 8cca58b
fix: remove next.config.ts conflict, exclude node_modules/.next from Docker COPY (M1 binary fix)
Browse files- .dockerignore +6 -0
- lifeline-ai/next.config.ts +0 -7
.dockerignore
CHANGED
|
@@ -11,3 +11,9 @@ __pycache__/
|
|
| 11 |
.idea/
|
| 12 |
.vscode/
|
| 13 |
*.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
.idea/
|
| 12 |
.vscode/
|
| 13 |
*.log
|
| 14 |
+
|
| 15 |
+
# Critical: exclude local node_modules and build cache
|
| 16 |
+
# These contain Mac M1 (darwin-arm64) native binaries that break Linux Docker builds
|
| 17 |
+
lifeline-ai/node_modules/
|
| 18 |
+
lifeline-ai/.next/
|
| 19 |
+
node_modules/
|
lifeline-ai/next.config.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
import type { NextConfig } from "next";
|
| 2 |
-
|
| 3 |
-
const nextConfig: NextConfig = {
|
| 4 |
-
/* config options here */
|
| 5 |
-
};
|
| 6 |
-
|
| 7 |
-
export default nextConfig;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|