Visal9252's picture
Update Dockerfile
2a227c1 verified
Raw
History Blame Contribute Delete
781 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies needed for compiling python modules and git clone
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Clone your GitHub repository directly into the container directory
RUN git clone https://github.com/vishal815/ResearchForge-Autonomous-Multi-Agent-Research-System.git .
# Install all dependencies directly from your cloned requirements file
RUN pip3 install --no-cache-dir -r requirements.txt
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
# Point explicitly to your Streamlit entrypoint inside the ui/ directory
ENTRYPOINT ["streamlit", "run", "ui/app.py", "--server.port=8501", "--server.address=0.0.0.0"]