chore: add .npmrc configuration to Dockerfile for module purge settings

This commit is contained in:
Mauricio Siu
2026-05-07 15:45:52 -06:00
parent 24fd287d13
commit 4daab8c28d

View File

@@ -8,9 +8,10 @@ ENV CI=true
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN echo "confirm-module-purge=false" >> /usr/src/app/.npmrc
# Install dependencies
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/website --frozen-lockfile --config.confirmModulesPurge=false
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/website --frozen-lockfile
# Deploy only the dokploy app