Skip to content

Commit

Permalink
fix(cli): 修复./cli compose run {container} {args}中arg没有传递给容器的问题 (#1465)
Browse files Browse the repository at this point in the history
修复某次升级导致`./cli compose run {container} {args}`中arg没有传递给容器的问题
  • Loading branch information
piccaSun authored Dec 10, 2024
1 parent 3b129d5 commit 0ec6591
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/silent-tomatoes-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@scow/cli": patch
"@scow/docs": patch
---

修复 cli compose run 命令时命令行参数没有传给容器的问题
3 changes: 2 additions & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ cd "apps/$SCOW_LAUNCH_APP"
cp ../../version.json ./

# exec to listen for stop signal
exec npm run serve
# also pass all command parameters
exec npm run serve "$@"
4 changes: 2 additions & 2 deletions docs/docs/info/mis/business/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ tenant_1: # 对租户tenant_1的账户用户发起的任务,在默认规则的
1. 每个计费项应该只出现一次。即使多个QOS费用相同,也应该定义两个计费项
2. 数据库中不存在具有相同计费项名的行

在数据库正在运行、`docker-compose.yml`配置编写完成的条件下,运行以下命令快速在数据库中创建费用项信息:
在数据库正在运行时、运行以下命令快速在数据库中创建费用项信息:

```bash
docker compose run mis-server createPriceItems
./cli compose run mis-server createPriceItems
```

0 comments on commit 0ec6591

Please sign in to comment.