fix: use npm install in Dockerfile and copy .npmrc for peer dep config
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user