Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY backend/requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Copy application package (includes app/, services/, data/) | |
| COPY backend/app ./app | |
| # Copy frontend static build | |
| COPY frontend/out ./frontend/out | |
| EXPOSE 7860 | |
| CMD ["python", "-c", "import uvicorn; uvicorn.run('app.main:app', host='0.0.0.0', port=7860, log_level='info')"] | |