fix: build option

This commit is contained in:
djeon 2025-10-30 12:22:40 +09:00
parent c332f7ef65
commit d5c4bf8292
2 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python 3.13
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.13'
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'rag/requirements.txt'

View File

@ -1,5 +1,5 @@
# Build stage
FROM python:3.13-slim AS builder
FROM python:3.11-slim AS builder
WORKDIR /app
@ -18,7 +18,7 @@ ENV PATH="/opt/venv/bin:$PATH"
RUN pip install --no-cache-dir -r requirements.txt
# Run stage
FROM python:3.13-slim
FROM python:3.11-slim
ENV USERNAME=k8s
ENV ARTIFACTORY_HOME=/home/${USERNAME}