Spaces:
Sleeping
Sleeping
File size: 882 Bytes
be5f49d 9567898 be5f49d 9567898 be5f49d 9567898 be5f49d 9567898 be5f49d 9567898 be5f49d 9567898 be5f49d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 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"]
|