File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 run : |
2626 DOCKER_IMAGE=ghcr.io/1panel-dev/maxkb-base
2727 DOCKER_PLATFORMS=${{ github.event.inputs.architecture }}
28- TAG_NAME=python3.11 -pg17.10-20260525
28+ TAG_NAME=python3.13 -pg17.10-20260624
2929 DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME}"
3030 echo ::set-output name=docker_image::${DOCKER_IMAGE}
3131 echo ::set-output name=version::${TAG_NAME}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN cd ui && ls -la && if [ -d "dist" ]; then exit 0; fi && \
66 NODE_OPTIONS="--max-old-space-size=4096" npx concurrently "npm run build" "npm run build-chat" && \
77 find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} +
88
9- FROM ghcr.io/1panel-dev/maxkb-base:python3.11 -pg17.10-20260525 AS stage-build
9+ FROM ghcr.io/1panel-dev/maxkb-base:python3.13 -pg17.10-20260525 AS stage-build
1010COPY --chmod=700 . /opt/maxkb-app
1111RUN apt-get update && \
1212 apt-get install -y --no-install-recommends gcc g++ gettext libexpat1-dev libffi-dev && \
@@ -24,7 +24,7 @@ RUN gcc -shared -fPIC -o ${MAXKB_SANDBOX_HOME}/lib/sandbox.so /opt/maxkb-app/ins
2424 rm -rf /opt/maxkb-app/installer
2525COPY --from=web-build --chmod=700 ui /opt/maxkb-app/ui
2626
27- FROM ghcr.io/1panel-dev/maxkb-base:python3.11 -pg17.10-20260525
27+ FROM ghcr.io/1panel-dev/maxkb-base:python3.13 -pg17.10-20260525
2828ARG DOCKER_IMAGE_TAG=dev \
2929 BUILD_AT \
3030 GITHUB_COMMIT
Original file line number Diff line number Diff line change 1- FROM python:3.11 -slim-trixie AS python-stage
1+ FROM python:3.13 -slim-trixie AS python-stage
22RUN python3 -m venv /opt/py3
33
44FROM ghcr.io/1panel-dev/maxkb-vector-model:v2.0.3 AS vector-model
Original file line number Diff line number Diff line change 1- #FROM python:3.11 -slim-bookworm AS vector-model
1+ #FROM python:3.13 -slim-bookworm AS vector-model
22#COPY installer/install_model.py install_model.py
33#RUN pip3 install --upgrade pip setuptools && \
44# pip install pycrawlers && \
1010
1111# 不知道为什么用上面的脚本重新拉一遍向量模型比之前的大很多,所以还是用下面的脚本复用原来已经构建好的向量模型
1212
13- FROM python:3.11 -slim-bookworm AS tmp-stage1
13+ FROM python:3.13 -slim-bookworm AS tmp-stage1
1414COPY installer/install_model_bert_base_cased.py install_model_bert_base_cased.py
1515RUN pip3 install --upgrade pip setuptools && \
1616 pip install pycrawlers && \
You can’t perform that action at this time.
0 commit comments