Spaces:
Sleeping
Sleeping
| # Use an official lightweight Python image | |
| FROM python:3.12-slim | |
| # Set working directory inside the container | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your application files | |
| COPY . . | |
| # Command to run your application | |
| CMD ["python","app.py"] |