mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2024-12-22 12:02:38 +00:00
updating port number to 8080 in readme
This commit is contained in:
parent
aeb4b01212
commit
9d1d09bcd4
@ -53,8 +53,9 @@ yarn dev
|
||||
## Docker 快速部署
|
||||
|
||||
你可以直接使用我已经构建好的镜像来运行
|
||||
|
||||
```sh
|
||||
docker run -d -t -p 5173:5173 \
|
||||
docker run -d -t -p 5173:8080 \
|
||||
--name=vue-color-avatar \
|
||||
--restart=always \
|
||||
docker.io/wenyang0/vue-color-avatar:latest
|
||||
@ -72,6 +73,7 @@ cd vue-color-avatar/
|
||||
docker build -t vue-color-avatar:v1 .
|
||||
|
||||
#启动服务
|
||||
docker run -d -t -p 5173:5173 --name vue-color-avatar --restart=always vue-color-avatar:v1
|
||||
docker run -d -t -p 5173:8080 --name vue-color-avatar --restart=always vue-color-avatar:v1
|
||||
```
|
||||
|
||||
最后,打开你的浏览器访问服务的地址 http://serverIP:5173 即可
|
||||
|
@ -50,8 +50,9 @@ yarn dev
|
||||
## Docker deploy
|
||||
|
||||
You can directly run using the image I have already built.
|
||||
|
||||
```sh
|
||||
docker run -d -t -p 5173:5173 \
|
||||
docker run -d -t -p 5173:8080 \
|
||||
--name=vue-color-avatar \
|
||||
--restart=always \
|
||||
docker.io/wenyang0/vue-color-avatar:latest
|
||||
@ -69,6 +70,7 @@ cd vue-color-avatar/
|
||||
docker build -t vue-color-avatar:v1 .
|
||||
|
||||
#start server
|
||||
docker run -d -t -p 5173:5173 --name vue-color-avatar --restart=always vue-color-avatar:v1
|
||||
docker run -d -t -p 5173:8080 --name vue-color-avatar --restart=always vue-color-avatar:v1
|
||||
```
|
||||
|
||||
Finally, open your browser and access the service's address at http://serverIP:5173
|
||||
|
Loading…
Reference in New Issue
Block a user