Spaces:
Sleeping
Sleeping
| # Use Python base image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files into the container | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --upgrade pip && \ | |
| pip install -r requirements.txt | |
| # Expose port for Streamlit | |
| EXPOSE 7860 | |
| # Run Streamlit app | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |