Skip to content

Commit c443189

Browse files
build: try to reduce image size.
1 parent b6ba2e9 commit c443189

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
@@ -31,7 +31,6 @@ RUN rm -rf /opt/maxkb-app/ui && \
3131
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \
3232
pip install requests pymysql psycopg2-binary && \
3333
rm -rf /opt/maxkb-app/installer
34-
COPY --from=web-build ui /opt/maxkb-app/ui
3534

3635
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.5
3736
ARG DOCKER_IMAGE_TAG=dev \
@@ -62,6 +61,7 @@ ENV MAXKB_VERSION="${DOCKER_IMAGE_TAG} (build at ${BUILD_AT}, commit: ${GITHUB_C
6261

6362
WORKDIR /opt/maxkb-app
6463
COPY --from=stage-build /opt/maxkb-app /opt/maxkb-app
64+
COPY --from=web-build ui /opt/maxkb-app/ui
6565
COPY --from=stage-build /opt/py3 /opt/py3
6666

6767
RUN chmod 755 /tmp

0 commit comments

Comments
 (0)