Spaces:
Build error
Build error
| FROM python:3.10-slim | |
| # System dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y build-essential git wget curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Create app directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY app.py . | |
| # Expose Streamlit port | |
| EXPOSE 7860 | |
| # Streamlit settings | |
| ENV STREAMLIT_SERVER_PORT=7860 | |
| ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 | |
| ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| CMD ["streamlit", "run", "app.py"] | |