mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 10:16:24 +00:00
feat: add rag ci/cd
This commit is contained in:
parent
5b744170e5
commit
7fd4cccd80
@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy requirements and install dependencies
|
# Copy requirements and install dependencies
|
||||||
COPY rag/requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir --user -r requirements.txt
|
RUN pip install --no-cache-dir --user -r requirements.txt
|
||||||
|
|
||||||
# Run stage
|
# Run stage
|
||||||
@ -39,7 +39,7 @@ WORKDIR ${ARTIFACTORY_HOME}
|
|||||||
COPY --from=builder /root/.local /home/${USERNAME}/.local
|
COPY --from=builder /root/.local /home/${USERNAME}/.local
|
||||||
|
|
||||||
# Copy application code
|
# Copy application code
|
||||||
COPY --chown=${USERNAME}:${USERNAME} rag/ .
|
COPY --chown=${USERNAME}:${USERNAME} . .
|
||||||
|
|
||||||
# Update PATH to include user's local bin
|
# Update PATH to include user's local bin
|
||||||
ENV PATH=/home/${USERNAME}/.local/bin:$PATH
|
ENV PATH=/home/${USERNAME}/.local/bin:$PATH
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user