File size: 455 Bytes
97598b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM nvidia/cuda:12.1.1-base-ubuntu22.04

ENV TZ=Pacific/Auckland
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update 
RUN apt-get update && apt-get install -y tzdata git pandoc ffmpeg python3 python3-pip

ADD ./requirements.txt /srv/requirements.txt
RUN pip install -r /srv/requirements.txt

RUN pip install --no-cache-dir         datasets         "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1"

ADD . /srv

WORKDIR /srv 
CMD ["gradio", "app.py"]