diff --git a/deployment/container/Dockerfile-rag b/deployment/container/Dockerfile-rag index cdd7965..c587682 100644 --- a/deployment/container/Dockerfile-rag +++ b/deployment/container/Dockerfile-rag @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Copy requirements and install dependencies -COPY requirements.txt . +COPY rag/requirements.txt . RUN pip install --no-cache-dir --user -r requirements.txt # Run stage @@ -39,7 +39,7 @@ WORKDIR ${ARTIFACTORY_HOME} COPY --from=builder /root/.local /home/${USERNAME}/.local # Copy application code -COPY --chown=${USERNAME}:${USERNAME} . . +COPY --chown=${USERNAME}:${USERNAME} rag/ . # Update PATH to include user's local bin ENV PATH=/home/${USERNAME}/.local/bin:$PATH