diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7440304..b5a77ec 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -3,11 +3,14 @@ FROM node:18-alpine as build WORKDIR /app +# Install build dependencies for native modules +RUN apk add --no-cache python3 make g++ + # Copy package files COPY package*.json ./ -# Install dependencies -RUN npm ci --only=production +# Clean install with full dependencies (needed for build) +RUN npm ci # Copy source code COPY . .