Add auto building for page

This commit is contained in:
Jesse Wierzbinski 2023-11-25 15:31:54 -10:00
parent 636b9174f4
commit bf61dc7cea
No known key found for this signature in database
7 changed files with 81 additions and 2 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM oven/bun:alpine
COPY . /app
RUN cd ./app && bun install
RUN cd ./app && bun docs:build
FROM oven/bun:alpine
COPY --from=builder /app/.vitepress/dist/ /app
LABEL org.opencontainers.image.authors "Gaspard Wierzbinski (https://cpluspatch.com)"
LABEL org.opencontainers.image.source "https://github.com/lysand-org/docs"
LABEL org.opencontainers.image.vendor "Lysand.org"
LABEL org.opencontainers.image.licenses "MIT"
LABEL org.opencontainers.image.title "Lysand Docs"
LABEL org.opencontainers.image.description "Documentation for Lysand"