aboutsummaryrefslogtreecommitdiff
path: root/gnqa/Dockerfile
diff options
context:
space:
mode:
authorShelbySolomonDarnell2024-10-17 12:24:26 +0300
committerShelbySolomonDarnell2024-10-17 12:24:26 +0300
commit00cba4b9a1e88891f1f96a1199320092c1962343 (patch)
tree270fd06daa18b2fc5687ee72d912cad771354bb0 /gnqa/Dockerfile
parente0b2b0e55049b89805f73f291df1e28fa05487fe (diff)
downloadgn-ai-master.tar.gz
Docker image built to run code, all evals run using R2RHEADmaster
Diffstat (limited to 'gnqa/Dockerfile')
-rw-r--r--gnqa/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnqa/Dockerfile b/gnqa/Dockerfile
index 43ae97e..c193a38 100644
--- a/gnqa/Dockerfile
+++ b/gnqa/Dockerfile
@@ -1,5 +1,8 @@
-FROM python:latest
-RUN pip install --no-cache-dir ragas r2r langchain_together
+FROM python:3.10.7
+RUN apt update && apt upgrade -y
+COPY requirements.txt /opt/app/requirements.txt
+RUN pip install --no-cache-dir -r /opt/app/requirements.txt
+#RUN pip install --no-cache-dir ragas==0.1.9 r2r==0.3.4 langchain-together==0.2.0 together==1.3.1 pandas==2.1.0
RUN mkdir /code