Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Cleanup
Tomáš Valenta26cc3f1bc6d7
diff --git a/api-service/.dockerignore b/api-service/.dockerignoreindex 71f285d6d..1dafa3f6e 100644--- a/api-service/.dockerignore+++ b/api-service/.dockerignore@@ -5,4 +5,5 @@ README.md*.pyd__pycache__.pytest_cache-dist\ No newline at end of file+dist+.gitignorediff --git a/api-service/Dockerfile b/api-service/Dockerfileindex 4507b2def..9b63b9ec3 100644--- a/api-service/Dockerfile+++ b/api-service/Dockerfile@@ -1,4 +1,4 @@-FROM python:3.10+FROM python:3.10-slimENV PYTHONFAULTHANDLER=1 \PYTHONHASHSEED=random \@@ -9,17 +9,14 @@ 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 /venvRUN poetry config virtualenvs.in-project trueWORKDIR /appCOPY pyproject.toml poetry.lock ./-RUN poetry install-COPY . ./+RUN poetry install --without dev --no-root --no-ansi+COPY . ./-ENTRYPOINT ["poetry", "run", "gunicorn", "--bind", "0.0.0.0:8080", "--workers", "1" ,"--threads", "8", "--timeout", "0", "app:app"]+CMD exec poetry run gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 8 --timeout 0 app:appdiff --git a/api-service/README.md b/api-service/README.mddeleted file mode 100644index e69de29bb..000000000diff --git a/api-service/tests/__init__.py b/api-service/tests/__init__.pydeleted file mode 100644index e69de29bb..000000000