We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb1a62 commit 85a1ef4Copy full SHA for 85a1ef4
1 file changed
src/frontend/Dockerfile
@@ -8,14 +8,12 @@ WORKDIR /app/frontend
8
# Copy package files first for better caching
9
COPY package*.json ./
10
11
-# Install dependencies
12
-RUN npm ci --silent
+# Install all dependencies (including devDependencies needed for tsc/vite build)
+RUN npm ci
13
14
# Copy source files
15
COPY . ./
16
17
-RUN rm -rf node_modules && npm ci && npm rebuild esbuild --force
18
-
19
# Build the React app
20
RUN npm run build
21
0 commit comments