Spaces:
Sleeping
Sleeping
| # Use a standard Hugging Face base image with Python 3.12 | |
| FROM huggingface/base-python:3.12 | |
| # Copy all your application files into the container's /app directory | |
| WORKDIR /app | |
| COPY . . | |
| # Make the setup script executable | |
| RUN chmod +x setup.sh | |
| # Run the setup script to install all dependencies | |
| # This happens only ONCE when the Space is being built. | |
| RUN ./setup.sh | |
| # This command runs your application every time the Space starts up | |
| CMD ["python", "app.py"] |