gemini-business2api / Dockerfile
xiaoyukkkk's picture
Upload 9 files
f4286d8 verified
raw
history blame contribute delete
372 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& pip install --no-cache-dir -r requirements.txt \
&& apt-get purge -y gcc \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
COPY main.py .
# 复制 util 目录
COPY util ./util
CMD ["python", "-u", "main.py"]