Spaces:
Running
Running
Adicionado ffmpeg
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -22,7 +22,8 @@ FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
|
|
22 |
|
23 |
ENV DEBIAN_FRONTEND=noninteractive
|
24 |
RUN apt-get install -y --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget ca-certificates curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 git
|
25 |
-
|
|
|
26 |
RUN useradd -m -u 1000 user
|
27 |
USER user
|
28 |
|
@@ -52,7 +53,7 @@ FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
|
|
52 |
|
53 |
RUN pip install -r requirements.txt
|
54 |
RUN pip install uvicorn
|
55 |
-
|
56 |
ENV WHISPER__MODEL=Systran/faster-whisper-small
|
57 |
ENV WHISPER__INFERENCE_DEVICE=auto
|
58 |
ENV UVICORN_HOST=0.0.0.0
|
|
|
22 |
|
23 |
ENV DEBIAN_FRONTEND=noninteractive
|
24 |
RUN apt-get install -y --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget ca-certificates curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 git
|
25 |
+
RUN apt-get install -y ffmpeg software-properties-common
|
26 |
+
|
27 |
RUN useradd -m -u 1000 user
|
28 |
USER user
|
29 |
|
|
|
53 |
|
54 |
RUN pip install -r requirements.txt
|
55 |
RUN pip install uvicorn
|
56 |
+
|
57 |
ENV WHISPER__MODEL=Systran/faster-whisper-small
|
58 |
ENV WHISPER__INFERENCE_DEVICE=auto
|
59 |
ENV UVICORN_HOST=0.0.0.0
|