Skip to content

Commit

Permalink
Added pre-generated embeddings to Docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
lreimer committed Dec 3, 2024
1 parent 7add506 commit d84f345
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions chatbot-easy-rag/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*
!easy-rag-embeddings.json
!catalog/*
!target/*-runner
!target/*-runner.jar
Expand Down
3 changes: 1 addition & 2 deletions chatbot-easy-rag/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ nb-configuration.xml
# Plugin directory
/.quarkus/cli/plugins/
# TLS Certificates
.certs/
easy-rag-embeddings.json
.certs/
1 change: 1 addition & 0 deletions chatbot-easy-rag/easy-rag-embeddings.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion chatbot-easy-rag/src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ FROM registry.access.redhat.com/ubi8/openjdk-21:1.20
ENV LANGUAGE='en_US:en'


# We make four distinct layers so if there are application changes the library layers can be re-used
# We make distinct layers so if there are application changes the library layers can be re-used
COPY --chown=185 easy-rag-embeddings.json /deployments/
COPY --chown=185 catalog/ /deployments/catalog/
COPY --chown=185 target/quarkus-app/lib/ /deployments/lib/
COPY --chown=185 target/quarkus-app/*.jar /deployments/
Expand Down

0 comments on commit d84f345

Please sign in to comment.