From 6adbbca439ba124ad64ffddaacf5d524470d2339 Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Sun, 28 Sep 2025 16:04:26 +0100 Subject: [PATCH] changed Docker flags to RUN npm ci --ignore-scripts && \ npm install --only=optional So that Vite can install dependancies it needs for multi Arch builds --- docker/frontend.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/frontend.Dockerfile b/docker/frontend.Dockerfile index 02d8a87..9173708 100644 --- a/docker/frontend.Dockerfile +++ b/docker/frontend.Dockerfile @@ -5,7 +5,8 @@ WORKDIR /app COPY package*.json ./ COPY frontend/package*.json ./frontend/ -RUN npm ci --ignore-scripts +RUN npm ci --ignore-scripts && \ + npm install --only=optional COPY frontend/ ./frontend/