Skip to content

Commit 85a1ef4

Browse files
fix docker file error
1 parent 2bb1a62 commit 85a1ef4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/frontend/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ WORKDIR /app/frontend
88
# Copy package files first for better caching
99
COPY package*.json ./
1010

11-
# Install dependencies
12-
RUN npm ci --silent
11+
# Install all dependencies (including devDependencies needed for tsc/vite build)
12+
RUN npm ci
1313

1414
# Copy source files
1515
COPY . ./
1616

17-
RUN rm -rf node_modules && npm ci && npm rebuild esbuild --force
18-
1917
# Build the React app
2018
RUN npm run build
2119

0 commit comments

Comments
 (0)