Files
garden-builder/Dockerfile
root 70212bd3ba
Some checks failed
Build Docker Image / build (push) Failing after 13s
fix: switch to node:22-slim (Debian) for env -S compatibility
2026-03-21 23:00:28 +01:00

16 lines
429 B
Docker

FROM node:22-slim
RUN apt-get update && apt-get install -y --no-install-recommends git rsync && rm -rf /var/lib/apt/lists/*
WORKDIR /quartz
# Quartz klonen und Abhängigkeiten installieren
RUN git clone --depth 1 https://github.com/jackyzha0/quartz.git . && \
npm ci
# Unsere Konfiguration überschreibt den Quartz-Standard
COPY quartz.config.ts ./quartz.config.ts
# Content-Verzeichnis vorbereiten
RUN mkdir -p content