fix: use npm install in Dockerfile and copy .npmrc for peer dep config

This commit is contained in:
saberzero1
2026-07-23 02:03:47 +02:00
parent b6939da24d
commit a71cbfbeed
+2 -1
View File
@@ -6,9 +6,10 @@ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json* .
COPY .npmrc* .
COPY quartz/ ./quartz/
COPY quartz.lock.json* .
RUN npm ci; npx quartz plugin install
RUN npm install; npx quartz plugin install
FROM node:22-slim
WORKDIR /usr/src/app