File size: 262 Bytes
7f00eaa | 1 2 3 4 5 6 7 8 9 10 11 | FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir fastapi uvicorn pydantic shap xgboost scikit-learn joblib requests pandas numpy
COPY api/ ./api/
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"]
|