mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
Add auto building for page
This commit is contained in:
parent
636b9174f4
commit
bf61dc7cea
7 changed files with 81 additions and 2 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue