File size: 468 Bytes
ae0190f
26cf2e1
ae0190f
 
 
26cf2e1
ae0190f
26cf2e1
ae0190f
 
26cf2e1
ae0190f
 
 
 
 
 
 
 
26cf2e1
ae0190f
 
26cf2e1
ae0190f
25df4ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM python:3.11-slim

WORKDIR /app

# Install minimal system dependencies
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    curl \
    libcurl4 \
    && rm -rf /var/lib/apt/lists/*

# Install Python packages
RUN pip install --no-cache-dir \
    fastapi \
    uvicorn \
    openai \
    requests \
    google-genai \
    firebase-admin

# Copy app
COPY app.py .

# Run server
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]