File size: 242 Bytes
4bce2e7
 
 
 
 
 
e3d0436
4bce2e7
03d5e51
4bce2e7
a2776d1
4bce2e7
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.11-slim

WORKDIR /app

COPY requirements.txt .

RUN pip install -r requirements.txt

COPY app ./app

RUN mkdir -p outputs
RUN mkdir -p models

EXPOSE 7860

CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]