From db0a5696d6fb9553512048fc84abbce8be926f31 Mon Sep 17 00:00:00 2001 From: Alex Rennie-Lis Date: Sun, 28 Jun 2026 23:16:27 +0100 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6de3ca4..2d12c01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,13 @@ FROM node:20-alpine AS builder WORKDIR /app -# Copy dependency configurations -COPY package*.json ./ +# Copy ONLY package.json to avoid pulling in local lockfile restrictions +COPY package.json ./ -# Install all dependencies (including devDependencies needed for building) -RUN npm ci +# Fresh install inside Alpine ensures correct native platform binaries (Rolldown Rust bindings) +RUN npm install -# Copy the rest of the application source code +# Now copy the rest of your repository source files COPY . . # Build the production application