Spaces:
Runtime error
Runtime error
| # Use a lightweight Python image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| # Copy all files into the container | |
| COPY . . | |
| # Expose the port your app runs on (example: 5000 for Flask) | |
| EXPOSE 5000 | |
| # Start the app | |
| CMD ["python", "app.py"] | |