diff --git a/static.Dockerfile b/static.Dockerfile new file mode 100644 index 0000000..5201417 --- /dev/null +++ b/static.Dockerfile @@ -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 \ No newline at end of file