Skip to content

Commit 8c705b0

Browse files
committed
chore: update Dockerfile to use build commands for ui and chat
1 parent 4437361 commit 8c705b0

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:18-alpine3.18 AS web-build
22
COPY ui ui
33
RUN cd ui && \
44
npm install && \
5-
NODE_OPTIONS="--max-old-space-size=4096" npm run build-only && \
6-
NODE_OPTIONS="--max-old-space-size=4096" npm run build-only-chat && \
5+
NODE_OPTIONS="--max-old-space-size=4096" npm run build && \
6+
NODE_OPTIONS="--max-old-space-size=4096" 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.5 AS stage-build

0 commit comments

Comments
 (0)