File size: 306 Bytes
d6e543b
 
 
 
 
 
 
 
 
 
939ee59
d6e543b
 
 
 
c79ab01
939ee59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# pick your favorite slim Python base
FROM python:3.10-slim

WORKDIR /app

# install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# copy app
#COPY app ./app

# expose Gradio default port
EXPOSE 7860

# launch with unbuffered output
CMD ["python", "-u", "app.py"]