quartz/Dockerfile
saberzero1 f99d54ea42
Update Dockerfile and add CI/CD documentation
- Add plugin install step to Dockerfile

- Create docs/ci-cd.md with pipeline configuration guide
2026-02-08 13:11:24 +01:00

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"]