mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
refactor: move dockerfiles to package folders
This commit is contained in:
parent
cc0edd3ed8
commit
303ef71805
6 changed files with 3 additions and 4 deletions
19
dashboard/Dockerfile
Normal file
19
dashboard/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM alpine:latest as builder
|
||||
|
||||
RUN apk add nodejs-current yarn go git
|
||||
|
||||
COPY dashboard/ /build
|
||||
COPY .git/ /build/.git
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn build
|
||||
|
||||
RUN sh -c 'go build -ldflags "-X 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