This commit is contained in:
Gal 2025-07-29 18:22:29 +02:00
parent cdd4b3ca1f
commit 67e9ce757f
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 5 additions and 2 deletions

View File

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