File size: 314 Bytes
e389f40
3bc15d1
 
5ab0ac0
3bc15d1
 
33d807b
1
2
3
4
5
6
7
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y build-essential libatlas-base-dev && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
ENV GEMINI_API_KEY=${GEMINI_API_KEY}
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "app:app"]