midr @ 90d9d819b70f68e10482954cfc461737c0165f8a

 1FROM alpine:3 as build
 2
 3ENV GOPROXY=direct
 4
 5WORKDIR /opt/midr
 6
 7RUN apk add go git
 8COPY . .
 9
10RUN go build -v .
11
12FROM alpine:3
13
14WORKDIR /opt/midr
15
16RUN apk add --no-cache ffmpeg yt-dlp
17
18COPY --from=build /opt/midr/midr .
19COPY --from=build /opt/midr/templates ./templates
20COPY --from=build /opt/midr/assets ./assets
21
22ENTRYPOINT ./midr