Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM node:18-alpine AS frontend-builder
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci
RUN npm ci --include=dev # Ensure devDependencies are installed regardless of NODE_ENV
COPY frontend/ ./
RUN npm run build

Expand Down
2 changes: 1 addition & 1 deletion dashboard/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY dashboard/frontend/package.json dashboard/frontend/package-lock.json dashbo
COPY dashboard/frontend/src ./src
COPY dashboard/frontend/public ./public
COPY dashboard/frontend/index.html ./
RUN npm install
RUN npm install --include=dev # Ensure TypeScript/Vite are installed regardless of NODE_ENV
RUN npm run build

# Stage 2: Build backend with Go
Expand Down
Loading