From ac8e18a326a744024d274dd862fae7fd61575625 Mon Sep 17 00:00:00 2001 From: nai-degen Date: Thu, 1 Jun 2023 16:36:49 -0500 Subject: [PATCH] adds python dependencies --- docker/huggingface/Dockerfile | 3 ++- requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/docker/huggingface/Dockerfile b/docker/huggingface/Dockerfile index eef259f..2d280de 100644 --- a/docker/huggingface/Dockerfile +++ b/docker/huggingface/Dockerfile @@ -1,8 +1,9 @@ FROM node:18-bullseye-slim RUN apt-get update && \ - apt-get install -y git + apt-get install -y git python3 python3-pip libzmq3-dev RUN git clone https://gitgud.io/khanon/oai-reverse-proxy.git /app WORKDIR /app +RUN pip3 install --no-cache-dir -r requirements.txt RUN npm install COPY Dockerfile greeting.md* .env* ./ RUN npm run build diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fd01d49 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pyzmq=25.1.0 +anthropic=0.2.9