Update Dockerfile.cpu
This commit is contained in:
@@ -2,25 +2,16 @@ FROM python:3.11-slim-bullseye
|
|||||||
|
|
||||||
WORKDIR /subgen
|
WORKDIR /subgen
|
||||||
|
|
||||||
|
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/requirements.txt /subgen/requirements.txt
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& pip install \
|
&& pip install -r requirements.txt
|
||||||
numpy \
|
|
||||||
stable-ts \
|
|
||||||
fastapi \
|
|
||||||
requests \
|
|
||||||
faster-whisper \
|
|
||||||
uvicorn \
|
|
||||||
python-multipart \
|
|
||||||
python-ffmpeg \
|
|
||||||
whisper \
|
|
||||||
transformers \
|
|
||||||
accelerate \
|
|
||||||
optimum \
|
|
||||||
watchdog
|
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user