mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-22 05:55:42 -05:00
- Add plugin install step to Dockerfile - Create docs/ci-cd.md with pipeline configuration guide
15 lines
301 B
Docker
15 lines
301 B
Docker
FROM node:22-slim AS builder
|
|
WORKDIR /usr/src/app
|
|
COPY package.json .
|
|
COPY package-lock.json* .
|
|
RUN npm ci
|
|
|
|
COPY quartz.lock.json .
|
|
RUN npx quartz plugin install
|
|
|
|
FROM node:22-slim
|
|
WORKDIR /usr/src/app
|
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
|
COPY . .
|
|
CMD ["npx", "quartz", "build", "--serve"]
|