File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -153,4 +153,6 @@ jobs:
153153 - name : Docker Buildx (build-and-push)
154154 run : |
155155 sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
156+ docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
157+ rm -rf ui/* && cp -r ./web-build/ui/* ui/
156158 docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} -f installer/Dockerfile
Original file line number Diff line number Diff line change 11FROM node:24-alpine AS web-build
22COPY ui ui
3- RUN cd ui && \
3+ RUN cd ui && ls -la && if [ -d "dist" ]; then exit 0; fi && \
44 npm install --prefer-offline --no-audit && \
55 npm install -D concurrently && \
66 NODE_OPTIONS="--max-old-space-size=4096" npx concurrently "npm run build" "npm run build-chat" && \
You can’t perform that action at this time.
0 commit comments