From 5926d3f803606d86129ed658147e66986d15fba8 Mon Sep 17 00:00:00 2001
From: Peter <GitHub@Stather.me>
Date: Mon, 01 Jul 2024 04:12:48 +0000
Subject: [PATCH] docs: replace .gitlab-ci.yml example with more reliable and faster ci job (#1243)

---
 Dockerfile |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..1d9e591
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM node:20-slim as builder
+WORKDIR /usr/src/app
+COPY package.json .
+COPY package-lock.json* .
+RUN npm ci
+
+FROM node:20-slim
+WORKDIR /usr/src/app
+COPY --from=builder /usr/src/app/ /usr/src/app/
+COPY . .
+CMD ["npx", "quartz", "build", "--serve"]

--
Gitblit v1.10.0