Skip to content

Commit 1e00a6d

Browse files
Revert "build: try to speed up web-build."
This reverts commit 245babb.
1 parent 245babb commit 1e00a6d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

installer/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM node:24-alpine AS web-build
22
COPY ui ui
33
RUN cd ui && \
4-
corepack enable && \
5-
pnpm install && \
6-
NODE_OPTIONS="--max-old-space-size=4096" pnpm run build && \
7-
NODE_OPTIONS="--max-old-space-size=4096" pnpm run build-chat && \
4+
npm install && \
5+
NODE_OPTIONS="--max-old-space-size=4096" npm run build && \
6+
NODE_OPTIONS="--max-old-space-size=4096" npm run build-chat && \
87
find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} +
98

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

0 commit comments

Comments
 (0)