From c701e6a4b3b5bf57a495a552a91c37670ee5650f Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:17:15 +0200 Subject: [PATCH] Fixes and added command line tool to run RAG --- level_3/Dockerfile | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/level_3/Dockerfile b/level_3/Dockerfile index fe1a3e3f9..0018c6e7f 100644 --- a/level_3/Dockerfile +++ b/level_3/Dockerfile @@ -18,11 +18,24 @@ RUN poetry config virtualenvs.create false && \ poetry install --no-root --no-dev RUN apt-get update -q && \ - apt-get install curl zip jq netcat-traditional -y -q -RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ - unzip -qq awscliv2.zip && ./aws/install && \ + apt-get install -y -q \ + gcc \ + python3-dev \ + curl \ + zip \ + jq \ + netcat-traditional && \ + pip install poetry && \ + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ + unzip -qq awscliv2.zip && \ + ./aws/install && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + rm -rf \ + awscliv2.zip \ + /var/lib/apt/lists/* \ + /tmp/* \ + /var/tmp/* + #RUN playwright install