mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(dashboard): add opengraph/oembed, Docker build
This commit is contained in:
parent
d956bd4577
commit
15d48db6f3
12 changed files with 253 additions and 1 deletions
17
Dockerfile.dashboard
Normal file
17
Dockerfile.dashboard
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM alpine:latest as builder
|
||||
|
||||
RUN apk add nodejs-current yarn go git
|
||||
|
||||
COPY dashboard/ /build
|
||||
WORKDIR /build
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn build
|
||||
|
||||
RUN go build -ldflags "-X dashboard/main.version=$(git rev-parse HEAD)"
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=builder /build/dashboard /bin/dashboard
|
||||
|
||||
ENTRYPOINT /bin/dashboard
|
||||
Loading…
Add table
Add a link
Reference in a new issue