This commit is contained in:
peaceultime committed 2023-12-14 14:51:27 +01:00
1 parent 0a249eab4c
commit ce81a43764
2 files changed
+16

No files matched your search

+11
View File
@@ -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", "-d", "/workspace/Peaceultime/system-aspect", "-o", "/output"]
+5
View File
@@ -0,0 +1,5 @@
name: 'Build Quartz'
description: 'Use Quartz to build the static website content'
runs:
using: 'docker'
image: 'Dockerfile'