Skip to content

Commit

Permalink
fix: adds clip model to docker file (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Encord-davids authored Jul 20, 2023
1 parent 85f2359 commit 6a0a4f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand All @@ -31,4 +35,3 @@ EXPOSE 8502

HEALTHCHECK CMD ecord-active --version
ENTRYPOINT ["encord-active"]

0 comments on commit 6a0a4f8

Please sign in to comment.