File size: 364 Bytes
cea9063
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:22.04

RUN apt-get update && apt-get install -y python3 python3-pip && apt-get clean

RUN apt install poppler-utils -y

# Install the necessary packages
WORKDIR /app

COPY . /app

RUN python3 -m pip install --upgrade pip

EXPOSE 7860

RUN pip install -r requirements.txt

ENV GRADIO_SERVER_NAME="0.0.0.0"


CMD ["python3", "app.py"]