Spaces:
No application file
No application file
| # Use official Python image | |
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements and install | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all project files | |
| COPY . . | |
| # Expose port for HuggingFace | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |