fix: make quartz.lock.json optional in Dockerfile

With npm specifiers, quartz.lock.json may not exist.
The glob pattern makes the COPY conditional.
This commit is contained in:
saberzero1
2026-07-23 01:34:12 +02:00
parent 97eea3ee34
commit 57094a8fee
+1 -1
View File
@@ -7,7 +7,7 @@ WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json* .
COPY quartz/ ./quartz/
COPY quartz.lock.json .
COPY quartz.lock.json* .
RUN npm ci; npx quartz plugin install
FROM node:22-slim