Skip to content

Commit 74d9679

Browse files
committed
Updated dockerfile
1 parent 22f176d commit 74d9679

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN apt-get -y update \
1717
&& apt-get -y install software-properties-common curl \
1818
&& add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg6 \
1919
&& apt-get -y update \
20-
&& apt-get -y install libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
20+
&& apt-get -y install libavformat-dev libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
2121

2222
# Install go
2323
RUN curl -sL https://golang.org/dl/go${GO_VERSION}.${OS}-${ARCH}.tar.gz | tar -C /usr/local -xz
@@ -35,7 +35,7 @@ RUN make -j$(nproc)
3535
# Setup runtime container
3636
FROM ${BASE_RUN_CONTAINER} AS runtime
3737
RUN apt-get -y update \
38-
&& apt-get -y install libavcodec libavdevice libavfilter libavutil libswscale libswresample
38+
&& apt-get -y install libavformat60 libavcodec60 libavdevice60 libavfilter9 libavutil58 libswscale7 libswresample4
3939
COPY --from=build --chmod=755 /app/build/whisper /usr/local/bin/whisper
4040
COPY --from=build /app/build/whisper /usr/local/bin/whisper
4141
COPY --chmod=755 etc/entrypoint.sh .

0 commit comments

Comments
 (0)