Spaces:
Runtime error
Runtime error
| # Use an official Python base image | |
| FROM python:3.9-slim | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy requirements.txt and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # Copy your application code | |
| COPY . . | |
| # Expose the port used by Gradio (default is 7860) | |
| EXPOSE 7860 | |
| # Run your app | |
| CMD ["python", "app.py"] | |