Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy application code | |
| COPY . /app | |
| # Install dependencies | |
| RUN apt update && apt install -y build-essential && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the application port | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["python", "app.py"] | |