FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir httpx fastapi uvicorn COPY main.py openai.py ./ EXPOSE 7860 CMD ["sh", "-c", "python -m uvicorn openai:app --host 0.0.0.0 --port 7860 --workers ${UVICORN_WORKERS:-1}"]