fix: audio transcription only charge for the length of audio duration

This commit is contained in:
Laisky.Cai
2025-01-08 05:00:33 +00:00
parent 3915ce9814
commit c6c8053ccc
9 changed files with 238 additions and 79 deletions

View File

@@ -35,10 +35,10 @@ FROM alpine
RUN apk update \
&& apk upgrade \
&& apk add --no-cache ca-certificates tzdata \
&& apk add --no-cache ca-certificates tzdata ffmpeg \
&& update-ca-certificates 2>/dev/null || true
COPY --from=builder2 /build/one-api /
EXPOSE 3000
WORKDIR /data
ENTRYPOINT ["/one-api"]
ENTRYPOINT ["/one-api"]