Update Dockerfile.cpu
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
FROM alpine
|
FROM bookworm-slim
|
||||||
|
|
||||||
WORKDIR /subgen
|
WORKDIR /subgen
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apt-get update \
|
||||||
python3 \
|
&& apt-get install -y \
|
||||||
cmd:pip3 \
|
python3 \
|
||||||
ffmpeg \
|
python3-pip \
|
||||||
bash \
|
ffmpeg \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& pip3 install \
|
&& pip3 install \
|
||||||
numpy \
|
numpy \
|
||||||
stable-ts \
|
stable-ts \
|
||||||
@@ -19,8 +21,7 @@ RUN apk add --no-cache \
|
|||||||
whisper \
|
whisper \
|
||||||
transformers \
|
transformers \
|
||||||
accelerate \
|
accelerate \
|
||||||
optimum \
|
optimum
|
||||||
--break-system-packages
|
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user