mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 07:56:24 +00:00
fix: build option
This commit is contained in:
parent
c332f7ef65
commit
d5c4bf8292
4
.github/workflows/rag-cicd_ArgoCD.yaml
vendored
4
.github/workflows/rag-cicd_ArgoCD.yaml
vendored
@ -48,10 +48,10 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.13
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.13'
|
python-version: '3.11'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'rag/requirements.txt'
|
cache-dependency-path: 'rag/requirements.txt'
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
FROM python:3.13-slim AS builder
|
FROM python:3.11-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Run stage
|
# Run stage
|
||||||
FROM python:3.13-slim
|
FROM python:3.11-slim
|
||||||
|
|
||||||
ENV USERNAME=k8s
|
ENV USERNAME=k8s
|
||||||
ENV ARTIFACTORY_HOME=/home/${USERNAME}
|
ENV ARTIFACTORY_HOME=/home/${USERNAME}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user