FROM astral/uv:python3.12-bookworm #WORKDIR /app RUN apt-get update && apt-get install -y \ build-essential \ curl \ git \ && rm -rf /var/lib/apt/lists/* COPY chainlit.md ./ COPY .python-version ./ COPY pyproject.toml ./ COPY sys_prompt.txt ./ COPY lang_graph.py ./ #RUN pip3 install -r requirements.txt RUN uv sync EXPOSE 3000 #HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health ENTRYPOINT ["uvx ", "chainlit","run" ,"lang_graph.py","-w", "--port 3000", "--host 0.0.0.0"]