Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmyd committed Dec 4, 2023
1 parent 0c3575e commit 6ce54d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ HBuilderX Vanilla 提供了一个小巧的容器环境以及一套对外暴露
容器启动示例:

```sh
docker run -d --restart=always -v /user_name/projects_folder:/projects -p 13300:3000 --name hbuilder-vanilla flymyd114/hbuilderx-vanilla:latest
docker run -d --restart=always -v /<user_name>/<projects_folder>:/projects -p 13300:3000 --name hbuilder-vanilla flymyd114/hbuilderx-vanilla:latest
```

* `/user_name/projects_folder`是本机的待打包工程父目录,你的所有工程均应处于该目录下,如`/Users/myd/projects`下有`hello-uniapp`文件夹。
* `/<user_name>/<projects_folder>`是本机的待打包工程父目录,你的所有工程均应处于该目录下,如`/Users/myd/projects`下有`hello-uniapp`文件夹。
* `13300`为建议的API端口映射点。

容器首次启动后,执行如下命令以初始化依赖:
Expand Down

0 comments on commit 6ce54d9

Please sign in to comment.