Update Dockerfile
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -2,6 +2,8 @@ FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
|
|||||||
|
|
||||||
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 \
|
||||||
@@ -9,20 +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 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