mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 06:46:24 +00:00
feat: add rag ci/cd
This commit is contained in:
parent
d3cbeff3ee
commit
5b744170e5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user