2020-04-03 22:09:19 +00:00
|
|
|
FROM crystallang/crystal:latest as builder
|
2020-04-02 12:19:23 +00:00
|
|
|
|
|
|
|
WORKDIR /build
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN shards install && \
|
|
|
|
shards build --release --static
|
|
|
|
|
|
|
|
FROM scratch
|
|
|
|
|
2020-04-03 20:23:23 +00:00
|
|
|
COPY --from=builder /build/bin/muse-dl /muse-dl-static
|