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:
+1
-1
@@ -7,7 +7,7 @@ WORKDIR /usr/src/app
|
|||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY package-lock.json* .
|
COPY package-lock.json* .
|
||||||
COPY quartz/ ./quartz/
|
COPY quartz/ ./quartz/
|
||||||
COPY quartz.lock.json .
|
COPY quartz.lock.json* .
|
||||||
RUN npm ci; npx quartz plugin install
|
RUN npm ci; npx quartz plugin install
|
||||||
|
|
||||||
FROM node:22-slim
|
FROM node:22-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user