File size: 242 Bytes
76f9d8b
 
 
 
 
 
 
 
015baa0
1
2
3
4
5
6
7
8
9
10
FROM python:3.10
WORKDIR /code
COPY packages.txt .
RUN apt-get update && xargs -a packages.txt apt-get install -y
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "gradio_api.py"]