Skip to content

Commit

Permalink
B6_SERVER_VERSION=^0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Dec 19, 2024
1 parent f0fb0b3 commit c79584f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
4 changes: 1 addition & 3 deletions deploy/enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ RUN yarn && yarn cache clean
COPY ./app/builder6 /opt/steedos/builder6
WORKDIR /opt/steedos/builder6

RUN bash -c ". $NVM_DIR/nvm.sh && nvm use 20 && npm i --production"

RUN bash -c ". $NVM_DIR/nvm.sh && nvm use 14"
RUN bash -c ". $NVM_DIR/nvm.sh && nvm exec 20 npm i --production"

COPY ./fs /

Expand Down
2 changes: 1 addition & 1 deletion deploy/enterprise/app/builder6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"license": "MIT",
"private": true,
"dependencies": {
"@builder6/server": "^0.5.2"
"@builder6/server": "^0.7.3"
}
}
9 changes: 0 additions & 9 deletions deploy/enterprise/app/builder6/plugins/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/enterprise/app/builder6/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ fi


# 使用 Node.js 20 运行应用
nvm exec 20 "$NODE_PATH" ./node_modules/@builder6/server/dist/b6.server.js -u /opt/steedos/builder6
nvm run 20 ./node_modules/@builder6/server/dist/main.js
4 changes: 2 additions & 2 deletions deploy/enterprise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ services:
- NPM_CACHE_PACKAGE_CONTENT=true
- NPM_REGISTRY_URL=https://registry.npmmirror.com
- STEEDOS_WIDGETS_ADDITIONAL=@steedos-widgets/liveblocks
- B6_SERVER_VERSION=^0.5.2
- B6_PLUGIN_PACKAGES=@builder6/node-red@^0.5.2,lodash
- B6_SERVER_VERSION=^0.7.3
- B6_PLUGIN_PACKAGES=@builder6/node-red@^0.7.2,lodash
- B6_PLUGIN_SERVICES=@builder6/node-red
- B6_PLUGIN_MODULES=@builder6/node-red
tty: true
Expand Down

0 comments on commit c79584f

Please sign in to comment.