From 67e9ce757f5ba1852f3e997accda442ba4f1d978 Mon Sep 17 00:00:00 2001 From: Gal Date: Tue, 29 Jul 2025 18:22:29 +0200 Subject: [PATCH] refactor --- frontend/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 . .