Satyanjay's picture
Update Dockerfile
db53fc2 verified
raw
history blame contribute delete
347 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies needed for models like XGBoost
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
# Use the standard python command to run your script
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]