Skip to content

Commit 5a1acc1

Browse files
build: update dockerfiles.
1 parent 0d06343 commit 5a1acc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN mkdir -p /opt/maxkb-app /opt/maxkb-app/model && \
2121
rm -rf /opt/maxkb-app/ui
2222

2323
COPY --from=web-build ui /opt/maxkb-app/ui
24+
COPY --from=vector-model /opt/maxkb-app/model /opt/maxkb-app/model
2425
WORKDIR /opt/maxkb-app
2526
RUN python3 -m venv /opt/py3 && \
2627
pip install poetry==1.8.5 --break-system-packages && \
@@ -64,7 +65,6 @@ ENV MAXKB_VERSION="${DOCKER_IMAGE_TAG} (build at ${BUILD_AT}, commit: ${GITHUB_C
6465
WORKDIR /opt/maxkb-app
6566
COPY --from=stage-build /opt/maxkb-app /opt/maxkb-app
6667
COPY --from=stage-build /opt/py3 /opt/py3
67-
COPY --from=vector-model /opt/maxkb-app/model /opt/maxkb-app/model
6868

6969
RUN chmod 755 /tmp && \
7070
find /opt/maxkb-app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \

0 commit comments

Comments
 (0)