Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy and install requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| # Copy application | |
| COPY . . | |
| # Create output directory | |
| RUN mkdir -p outputs/style_analysis | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["uvicorn", "api_server:app", "--host", "0.0.0.0", "--port", "7860"] |