Skip to content

Commit e8f9737

Browse files
Seaualclaude
andcommitted
fix: Docker build - use npm install and exclude test files from tsconfig
- Replace npm ci with npm install to handle package-lock.json sync issues - Exclude test files from tsconfig.json to prevent type errors during build Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent df30fe3 commit e8f9737

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WORKDIR /app/frontend
99
COPY frontend/package*.json ./
1010

1111
# Install dependencies
12-
RUN npm ci
12+
RUN npm install
1313

1414
# Copy frontend source
1515
COPY frontend/ ./

frontend/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"noFallthroughCasesInSwitch": true
1818
},
1919
"include": ["src"],
20+
"exclude": ["src/**/*.test.*", "src/**/*.spec.*", "vitest.setup.ts", "vitest.config.ts"],
2021
"references": [{ "path": "./tsconfig.node.json" }]
2122
}

0 commit comments

Comments
 (0)