FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
# openpyxl 在 requirements.txt 中缺失，手动补充
RUN pip install --no-cache-dir -r requirements.txt openpyxl
COPY app.py .
EXPOSE 8090
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090"]
