radwaamr1's picture
Upload 4 files
20d48b6 verified
Raw History Blame Contribute Delete
314 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
COPY app.py .
COPY custom.py .
COPY xgb_desertification_pipeline.pkl .
COPY feature_names.pkl .
COPY label_encoder.pkl .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]