Skip to content

Commit 20cc532

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

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
@@ -1,7 +1,7 @@
11
FROM node:24-alpine AS web-build
22
COPY ui ui
33
RUN cd ui && \
4-
npm install && \
4+
npm install --prefer-offline --no-audit && \
55
NODE_OPTIONS="--max-old-space-size=4096" npm run build && \
66
NODE_OPTIONS="--max-old-space-size=4096" npm run build-chat && \
77
find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} +

0 commit comments

Comments
 (0)