17 lines
296 B
Plaintext
17 lines
296 B
Plaintext
|
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"]
|