17 lines
296 B
Docker
17 lines
296 B
Docker
FROM golang:1.20-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.17
|
|
|
|
COPY --from=0 /target/ /
|
|
|
|
CMD ["tunaposter"]
|