galbendavids's picture
Add Hugging Face Spaces deployment files and configuration
78e2426
raw
history blame contribute delete
634 Bytes
# Dockerfile for Feedback Analysis Agent
# SQL-based feedback analysis system using LLM-generated queries
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt ./
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt --default-timeout=100
# Copy application code (all files needed for the app)
COPY . .
# Expose port (7860 for HF Spaces, 8000 for local)
EXPOSE 7860
# Run the application
# app.py in root will handle importing from 2_backend_llm/app/api
CMD ["python", "app.py"]