From 5e9183f30760e51cae29e257d35f0b6da1b41d2d Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:51:03 -0600 Subject: [PATCH] Update Dockerfile.cpu --- Dockerfile.cpu | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Dockerfile.cpu b/Dockerfile.cpu index a7f4c1e..d7bc70e 100644 --- a/Dockerfile.cpu +++ b/Dockerfile.cpu @@ -2,6 +2,8 @@ FROM ubuntu:22.04 WORKDIR /subgen +COPY cpu_requirements.txt cpu_requirements.txt + RUN apt-get update \ && apt-get install -y \ python3 \ @@ -9,19 +11,7 @@ RUN apt-get update \ ffmpeg \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ - && pip3 install \ - numpy \ - stable-ts \ - fastapi \ - requests \ - faster-whisper \ - uvicorn \ - python-multipart \ - python-ffmpeg \ - whisper \ - transformers \ - accelerate \ - optimum + && pip3 install -r cpu_requirements.txt ENV PYTHONUNBUFFERED=1