Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy requirements | |
| COPY backend/requirements.txt backend/requirements.txt | |
| COPY frontend/requirements.txt frontend/requirements.txt | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r backend/requirements.txt -r frontend/requirements.txt | |
| # Copy source | |
| COPY backend backend | |
| COPY frontend frontend | |
| COPY start.sh start.sh | |
| RUN chmod +x start.sh | |
| CMD ["./start.sh"] | |