All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m28s
Replaces the custom Go/Vue notes system with Quartz v4, a polished static site generator for Obsidian vaults. Mounts OBSIDIAN_DIR as the Quartz content directory and serves it at /notes/ with hot-reload via `npx quartz build --serve`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
441 B
Docker
19 lines
441 B
Docker
FROM node:22-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --yes git gettext-base \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /quartz
|
|
|
|
ARG QUARTZ_VERSION=v4.4.0
|
|
RUN git clone --depth 1 --branch ${QUARTZ_VERSION} \
|
|
https://github.com/jackyzha0/quartz.git . \
|
|
&& npm ci
|
|
|
|
COPY quartz.config.ts.template /quartz/quartz.config.ts.template
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|