feat: add rag ci/cd

This commit is contained in:
djeon 2025-10-29 23:39:01 +09:00
parent d3cbeff3ee
commit 5b744170e5

View File

@ -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