Skip to content

Commit

Permalink
Merge pull request #13 from ansible/fix/push-pipeline
Browse files Browse the repository at this point in the history
Fix for the pipelines
  • Loading branch information
mabulgu authored Oct 24, 2024
2 parents f833355 + 2371706 commit 3819b40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG LIGHTSPEED_RAG_CONTENT_IMAGE=quay.io/openshift-lightspeed/lightspeed-rag-con

FROM ${LIGHTSPEED_RAG_CONTENT_IMAGE} as lightspeed-rag-content

FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest AS production

ARG VERSION
# todo: this is overriden by the image ubi9/python-311, we hard coded WORKDIR below to /app-root
Expand Down Expand Up @@ -31,9 +31,9 @@ COPY --from=lightspeed-rag-content /rag/embeddings_model ./embeddings_model

# Add explicit files and directories
# (avoid accidental inclusion of local directories or env files or credentials)
COPY runner.py requirements.txt ./
COPY runner.py pyproject.toml LICENSE README.md ./

RUN pip3.11 install --no-cache-dir -r requirements.txt
RUN pip3.11 install .

COPY ols ./ols

Expand Down

0 comments on commit 3819b40

Please sign in to comment.