From 6a0a4f8cc1ac5657e900328fa4cece15fba70c20 Mon Sep 17 00:00:00 2001 From: David Sapiro <115489098+Encord-davids@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:14:33 +0100 Subject: [PATCH] fix: adds clip model to docker file (#556) --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index abe294fcb..572ab408d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,10 @@ RUN apt-get update && apt-get install -y \ git \ ffmpeg +RUN curl https://openaipublic.azureedge.net/clip/models/40d365715913c9da98579312b702a82c18be219cc2a73407c4526f58eba950af/ViT-B-32.pt --output ViT-B-32.pt +RUN mkdir /root/.cache/clip -p +COPY ViT-B-32.pt /root/.cache/clip/ + RUN apt-get -y clean \ && rm -rf /var/lib/apt/lists/* @@ -31,4 +35,3 @@ EXPOSE 8502 HEALTHCHECK CMD ecord-active --version ENTRYPOINT ["encord-active"] -