mirror of https://github.com/captn3m0/muse-dl.git
Adds a static builder
This commit is contained in:
parent
b354440d60
commit
252e896785
|
@ -0,0 +1,12 @@
|
|||
FROM jrei/crystal-alpine:edge as builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN shards install && \
|
||||
shards build --release --static
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /build/bin/muse-dl /muse-dl
|
Loading…
Reference in New Issue