Long-polling bot that accepts voice messages and video notes, sends them to Whisper STT API, and replies with transcription text. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
270 B
Docker
11 lines
270 B
Docker
FROM alpine:3.21 AS builder
|
|
RUN apk add --no-cache zig
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN zig build -Doptimize=ReleaseSafe
|
|
|
|
FROM alpine:3.21
|
|
RUN apk add --no-cache ffmpeg ca-certificates
|
|
COPY --from=builder /app/zig-out/bin/transcribator /usr/local/bin/
|
|
CMD ["transcribator"]
|