Update Dockerfile
This commit is contained in:
21
Dockerfile
21
Dockerfile
@@ -3,10 +3,23 @@ FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
|
|||||||
VOLUME /subgen
|
VOLUME /subgen
|
||||||
WORKDIR /subgen
|
WORKDIR /subgen
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg
|
RUN apt-get update \
|
||||||
RUN pip3 install numpy stable-ts fastapi requests faster-whisper uvicorn python-multipart python-ffmpeg whisper
|
&& apt-get install -y \
|
||||||
|
python3 \
|
||||||
ENV PYTHONUNBUFFERED 1
|
python3-pip \
|
||||||
|
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
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user