From a727b57e46355ae59ac6f26078c29f0d24b2b841 Mon Sep 17 00:00:00 2001 From: Jules Kreuer <25013642+not-a-feature@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:29:43 +0000 Subject: [PATCH] docs(hosting): add apache config example (#1608) --- Dockerfile | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4493853 --- /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