1
0
Fork 0
livestream-tools/icedreammusic/tunaposter.Dockerfile

17 lines
296 B
Plaintext
Raw Normal View History

2021-02-28 17:04:41 +00:00
FROM golang:1.16-alpine
WORKDIR /usr/src/icedreammusic/
COPY . .
RUN cd tunaposter && go build -v .
RUN install -v -m0755 -d /target/usr/local/bin/
RUN install -v -m0755 tunaposter/tunaposter /target/usr/local/bin/tunaposter
###
FROM alpine:3.13
COPY --from=0 /target/ /
CMD ["tunaposter"]