From ee3ea7a970fdf38ac45d48538ec91e4a1ee43202 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 23 Feb 2024 21:19:04 +0000 Subject: [PATCH] Add wget and unzip packages to Dockerfile --- application/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/Dockerfile b/application/Dockerfile index 7ea15ff7..92860c20 100644 --- a/application/Dockerfile +++ b/application/Dockerfile @@ -2,6 +2,7 @@ FROM python:3.11-slim-bullseye as builder # Tiktoken requires Rust toolchain, so build it in a separate stage RUN apt-get update && apt-get install -y gcc curl +RUN apt-get install -y wget unzip RUN wget https://d3dg1063dc54p9.cloudfront.net/models/embeddings/mpnet-base-v2.zip RUN unzip mpnet-base-v2.zip -d model RUN rm mpnet-base-v2.zip @@ -10,7 +11,7 @@ ENV PATH="/root/.cargo/bin:${PATH}" RUN pip install --upgrade pip && pip install tiktoken==0.5.2 COPY requirements.txt . RUN pip install -r requirements.txt -RUN apt-get install -y wget unzip + FROM python:3.11-slim-bullseye