maple7362085/Gemini
0
1FROM python:3.11-slim
2WORKDIR /app
3COPY requirements.txt .
4RUN apt-get update && apt-get install -y --no-install-recommends \
5 gcc \
6 && pip install --no-cache-dir -r requirements.txt \
7 && apt-get purge -y gcc \
8 && apt-get autoremove -y \
9 && rm -rf /var/lib/apt/lists/*
10COPY main.py .
11CMD ["python", "-u", "main.py"]