Spaces:
Runtime error
Runtime error
| FROM python:3.9-slim | |
| # System dependencies (optional but useful for some packages) | |
| RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Install Python dependencies | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the app files | |
| COPY . . | |
| # Expose Streamlit default port | |
| EXPOSE 7860 | |
| # Set the default command | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |