Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add inproject venv paths

Tomáš Valenta537f5f72348a
diff --git a/api-service/Dockerfile b/api-service/Dockerfile
index c8805ba51..4507b2def 100644
--- a/api-service/Dockerfile
+++ b/api-service/Dockerfile
@@ -9,9 +9,11 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
PIP_NO_CACHE_DIR=1 \
POETRY_VERSION=1.4.0
+ENV PIPENV_VENV_IN_PROJECT 1
RUN pip install "poetry==$POETRY_VERSION"
-RUN poetry config virtualenvs.path /venv
+# RUN poetry config virtualenvs.path /venv
+RUN poetry config virtualenvs.in-project true
WORKDIR /app