AUXteam commited on
Commit
10a9639
·
verified ·
1 Parent(s): 21cac8a

Fix Docker build: include devDependencies for frontend build

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,7 +30,7 @@ RUN npm ci --only=production
30
 
31
  # Build the frontend
32
  COPY frontend ./frontend
33
- RUN cd frontend && npm install && npm run build
34
 
35
  # Copy backend package files and install backend dependencies
36
  COPY backend/package*.json ./backend/
 
30
 
31
  # Build the frontend
32
  COPY frontend ./frontend
33
+ RUN cd frontend && npm install --include=dev && npm run build
34
 
35
  # Copy backend package files and install backend dependencies
36
  COPY backend/package*.json ./backend/