mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
17 lines
No EOL
332 B
Text
17 lines
No EOL
332 B
Text
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 |