From 55facfd8db41342a9879321204480ecd4b6cf950 Mon Sep 17 00:00:00 2001 From: Bufo Date: Sat, 15 Apr 2023 15:59:14 +0200 Subject: [PATCH] remove sourcery from docker build --- Dockerfile | 6 +++--- requirements-docker.txt | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 requirements-docker.txt diff --git a/Dockerfile b/Dockerfile index 3ae1ac1219dc..d62751fa4420 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,11 @@ RUN chown appuser:appuser /home/appuser USER appuser # Copy the requirements.txt file and install the requirements -COPY --chown=appuser:appuser requirements.txt . -RUN pip install --no-cache-dir --user -r requirements.txt +COPY --chown=appuser:appuser requirements-docker.txt . +RUN pip install --no-cache-dir --user -r requirements-docker.txt # Copy the application files -COPY --chown=appuser:appuser autogpt/ . +COPY --chown=appuser:appuser autogpt/ ./autogpt # Set the entrypoint ENTRYPOINT ["python", "-m", "autogpt"] diff --git a/requirements-docker.txt b/requirements-docker.txt new file mode 100644 index 000000000000..fecbd0a6da74 --- /dev/null +++ b/requirements-docker.txt @@ -0,0 +1,25 @@ +beautifulsoup4 +colorama==0.4.6 +openai==0.27.2 +playsound==1.2.2 +python-dotenv==1.0.0 +pyyaml==6.0 +readability-lxml==0.8.1 +requests +tiktoken==0.3.3 +gTTS==2.3.1 +docker +duckduckgo-search +google-api-python-client #(https://developers.google.com/custom-search/v1/overview) +pinecone-client==2.2.1 +redis +orjson +Pillow +selenium +webdriver-manager +coverage +flake8 +numpy +pre-commit +black +isort