Revert "build: try to speed up web-build."
This reverts commit 245babbcae.
This commit is contained in:
parent
245babbcae
commit
1e00a6d763
@ -1,10 +1,9 @@
|
|||||||
FROM node:24-alpine AS web-build
|
FROM node:24-alpine AS web-build
|
||||||
COPY ui ui
|
COPY ui ui
|
||||||
RUN cd ui && \
|
RUN cd ui && \
|
||||||
corepack enable && \
|
npm install && \
|
||||||
pnpm install && \
|
NODE_OPTIONS="--max-old-space-size=4096" npm run build && \
|
||||||
NODE_OPTIONS="--max-old-space-size=4096" pnpm run build && \
|
NODE_OPTIONS="--max-old-space-size=4096" npm run build-chat && \
|
||||||
NODE_OPTIONS="--max-old-space-size=4096" pnpm run build-chat && \
|
|
||||||
find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} +
|
find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} +
|
||||||
|
|
||||||
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.6 AS stage-build
|
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.6 AS stage-build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user