mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 07:26:07 +00:00
Update Dockerfile.cpu
This commit is contained in:
1 parent
7b5f9bab83
commit
5e9183f307
1 file changed
+3
-13
+3
-13
@@ -2,6 +2,8 @@ FROM ubuntu:22.04
|
|||||||
|
|
||||||
WORKDIR /subgen
|
WORKDIR /subgen
|
||||||
|
|
||||||
|
COPY cpu_requirements.txt cpu_requirements.txt
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
@@ -9,19 +11,7 @@ RUN apt-get update \
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& pip3 install \
|
&& pip3 install -r cpu_requirements.txt
|
||||||
numpy \
|
|
||||||
stable-ts \
|
|
||||||
fastapi \
|
|
||||||
requests \
|
|
||||||
faster-whisper \
|
|
||||||
uvicorn \
|
|
||||||
python-multipart \
|
|
||||||
python-ffmpeg \
|
|
||||||
whisper \
|
|
||||||
transformers \
|
|
||||||
accelerate \
|
|
||||||
optimum
|
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user