diff --git a/docker/all-in-one.Dockerfile b/docker/all-in-one.Dockerfile index 3332492..fb3eff2 100644 --- a/docker/all-in-one.Dockerfile +++ b/docker/all-in-one.Dockerfile @@ -16,7 +16,7 @@ # --- 1. Build the SPA -------------------------------------------------------- FROM node:20-alpine AS web-builder WORKDIR /web -COPY web/package.json web/package-lock.json* ./ +COPY web/package.json web/package-lock.json* web/.npmrc* ./ RUN npm install --no-audit --no-fund COPY web/. ./ RUN npm run build diff --git a/docker/web.Dockerfile b/docker/web.Dockerfile index d89f638..c7b72e2 100644 --- a/docker/web.Dockerfile +++ b/docker/web.Dockerfile @@ -2,7 +2,7 @@ FROM node:20-alpine AS build WORKDIR /app -COPY package.json package-lock.json* ./ +COPY package.json package-lock.json* .npmrc* ./ RUN npm install --no-audit --no-fund COPY tsconfig.json vite.config.ts tailwind.config.ts postcss.config.js index.html ./