Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy project files | |
| COPY requirements/requirements.txt ./requirements.txt | |
| COPY src/ ./src/ | |
| COPY agent_plan_solve_app.py ./ | |
| COPY agent_plan_solve/ ./agent_plan_solve/ | |
| COPY config.py ./config.py | |
| COPY .streamlit /app/.streamlit | |
| # Install Python dependencies | |
| RUN pip3 install --upgrade pip && pip3 install -r requirements.txt | |
| EXPOSE 8501 | |
| ENV STREAMLIT_SERVER_HEADLESS=true | |
| # Start the Streamlit app | |
| #CMD ["streamlit", "run", "agent_plan_solve_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"] | |
| ENTRYPOINT ["streamlit", "run", "agent_plan_solve_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"] | |