mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
chore: move docs to fly
This commit is contained in:
parent
19616b6bbb
commit
eca5cbff97
3 changed files with 21 additions and 6 deletions
18
docs/Dockerfile
Normal file
18
docs/Dockerfile
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
FROM alpine:latest AS builder
|
||||||
|
|
||||||
|
RUN apk add nodejs-current yarn
|
||||||
|
|
||||||
|
WORKDIR /build
|
||||||
|
COPY . .
|
||||||
|
RUN yarn
|
||||||
|
ENV NODE_OPTIONS=--openssl-legacy-provider
|
||||||
|
RUN yarn build
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk add caddy
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=builder /build/content/.vuepress/dist /app
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/usr/sbin/caddy", "file-server", "-l", "0.0.0.0:8000", "-r", "/app" ]
|
||||||
3
docs/fly.toml
Normal file
3
docs/fly.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
app = "pluralkit-docs"
|
||||||
|
primary_region = "arn"
|
||||||
|
http_service.internal_port = 8000
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# Configuration for Netlify (website deployment, etc)
|
|
||||||
|
|
||||||
[build]
|
|
||||||
base = "docs/"
|
|
||||||
publish = "content/.vuepress/dist"
|
|
||||||
command = "npm run build"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue