mirror of https://github.com/captn3m0/muse-dl.git
Initial Dockerfile
This commit is contained in:
parent
82ce97cbc8
commit
ce0a901b47
|
@ -0,0 +1,5 @@
|
||||||
|
.git
|
||||||
|
LICENSE
|
||||||
|
Dockerfile
|
||||||
|
spec/
|
||||||
|
bin/
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM jrei/crystal-alpine as builder
|
||||||
|
|
||||||
|
WORKDIR /build
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN shards install && shards build --release --static
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
|
||||||
|
COPY --from=builder /build/bin/muse-dl /
|
||||||
|
|
||||||
|
ENTRYPOINT ["/muse-dl"]
|
Loading…
Reference in New Issue