Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Updated Dockerfile (#2987)

Aravindan M46c43d78ecba
diff --git a/.container/Dockerfile b/.container/Dockerfile
index 15ea49f47..3b6b0eb08 100644
--- a/.container/Dockerfile
+++ b/.container/Dockerfile
@@ -1,17 +1,17 @@
FROM python:3.10-bookworm
-# Install uv
RUN pip install uv
-COPY . /app/camel
-
WORKDIR /app/camel
+COPY . .
-# Setup virtual environment and install dependencies
RUN uv venv .venv --python=3.10 && \
. .venv/bin/activate && \
uv pip install -e ".[all, dev, docs]" && \
pip install pre-commit mypy && \
pre-commit install
-CMD ["tail", "-f", "/dev/null"]
+ENV VIRTUAL_ENV=/app/camel/.venv
+ENV PATH="$VIRTUAL_ENV/bin:$PATH"
+
+CMD ["bash"]