1
0
mirror of https://github.com/captn3m0/muse-dl.git synced 2024-07-12 15:28:00 +00:00
muse-dl/static.Dockerfile

12 lines
196 B
Docker

FROM crystallang/crystal:latest as builder
WORKDIR /build
COPY . .
RUN shards install && \
shards build --release --static
FROM scratch
COPY --from=builder /build/bin/muse-dl /muse-dl-static