CoolFace
Apppublic

mmagani/lead_scoring_api

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1# Use official Python image2FROM python:3.93 4# Set working directory5WORKDIR /app6 7# Copy FastAPI app files8COPY app.py .9COPY lead_scoring_model.pkl .10COPY requirements.txt .11 12# Install dependencies13RUN pip install -r requirements.txt14 15# Expose the port FastAPI will run on16EXPOSE 786017 18# Start FastAPI server19CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]