Spaces:
Runtime error
Runtime error
| # Use official Python image | |
| FROM python:3.10 | |
| # Set working directory inside container | |
| WORKDIR /app | |
| # Copy all project files into the container | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the port your app runs on | |
| EXPOSE 8000 | |
| # Run your Python app | |
| CMD ["python", "app.py"] | |