midr @ 73b1e5746a3f074aa103b5914a02769ff057c56e

 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