samir12321's picture
Replace promotion-predictor with NegOptim AI chatbot service
72bb57a
Raw
History Blame Contribute Delete
337 Bytes
# Hugging Face Spaces (Docker SDK) serves the app on port 7860
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py schema_core.txt object_index.txt ./
COPY schema_docs/ ./schema_docs/
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]