From 8c705b03b320b36ce7ceaee94f27868d94490286 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 11 Jul 2025 10:11:24 +0800 Subject: [PATCH] chore: update Dockerfile to use build commands for ui and chat --- installer/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index a4cc65757..8af035c6d 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -2,8 +2,8 @@ FROM node:18-alpine3.18 AS web-build COPY ui ui RUN cd ui && \ npm install && \ - NODE_OPTIONS="--max-old-space-size=4096" npm run build-only && \ - NODE_OPTIONS="--max-old-space-size=4096" npm run build-only-chat && \ + NODE_OPTIONS="--max-old-space-size=4096" npm run build && \ + NODE_OPTIONS="--max-old-space-size=4096" npm run build-chat && \ find . -maxdepth 1 ! -name '.' ! -name 'dist' ! -name 'public' -exec rm -rf {} + FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.5 AS stage-build