Skip to content

Commit 64f2f73

Browse files
build: try to speed up web-build.
1 parent 20cc532 commit 64f2f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM node:24-alpine AS web-build
22
COPY ui ui
33
RUN cd ui && \
44
npm install --prefer-offline --no-audit && \
5-
NODE_OPTIONS="--max-old-space-size=4096" npm run build && \
6-
NODE_OPTIONS="--max-old-space-size=4096" npm run build-chat && \
5+
npm install -D concurrently && \
6+
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

99
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.6 AS stage-build

0 commit comments

Comments
 (0)