Completely AI generated nonsense, seems to work
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 27 lines 803 B view raw
1# ── Build stage ──────────────────────────────────────────────── 2FROM golang:1.22-alpine AS builder 3 4RUN apk add --no-cache gcc musl-dev opus-dev pkgconf 5 6WORKDIR /src 7COPY go.mod go.sum ./ 8RUN go mod download 9 10COPY . . 11RUN CGO_ENABLED=1 go build -o /bot ./cmd/bot 12 13# ── Runtime stage ───────────────────────────────────────────── 14FROM alpine:3.19 15 16RUN apk add --no-cache \ 17 ffmpeg \ 18 opus \ 19 python3 \ 20 py3-pip \ 21 ca-certificates \ 22 && pip3 install --no-cache-dir --break-system-packages yt-dlp \ 23 && rm -rf /root/.cache 24 25COPY --from=builder /bot /usr/local/bin/bot 26 27ENTRYPOINT ["bot"]