mirror of
https://github.com/captn3m0/muse-dl.git
synced 2024-07-26 20:42:55 +00:00
Adds a static builder
This commit is contained in:
parent
b354440d60
commit
252e896785
12
static.Dockerfile
Normal file
12
static.Dockerfile
Normal file
@ -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
Block a user