CropGuard-Inference / Dockerfile
justanitin's picture
feat: Initial production inference engine setup
8bbfcd3
Raw
History Blame Contribute Delete
243 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose port 7860 (Hugging Face default)
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]