All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 10s
Add custom quartz.layout.ts overriding the default layout to remove Component.Graph(), the D3 force-directed graph known to crash browsers on large note sets. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
488 B
Docker
20 lines
488 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 quartz.layout.ts /quartz/quartz.layout.ts
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|