File size: 318 Bytes
d103a0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

# Install dependencies
RUN pip install --no-cache-dir \
    pydantic>=2.0 \
    fastapi>=0.100 \
    uvicorn>=0.20 \
    openai>=1.0 \
    faker>=18.0 \
    pytest>=7.0

COPY . .

EXPOSE 7860

CMD ["python", "-m", "uvicorn", "env.server:app", "--host", "0.0.0.0", "--port", "7860"]