Update README.md

This commit is contained in:
wenyang 2023-04-12 15:20:23 +08:00 committed by GitHub
parent 4354a2ffdf
commit 120a2e9b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,6 @@ yarn dev
You can directly run using the image I have already built.
```sh
#docker run
docker run -d -t -p 5173:5173 --name vue-color-avatar --restart=always docker.io/wenyang0/vue-color-avatar:latest
```
@ -65,7 +64,7 @@ git clone https://github.com/Codennnn/vue-color-avatar.git
cd vue-color-avatar/
docker build -t vue-color-avatar:v1 .
#docker run
#start server
docker run -d -t -p 5173:5173 --name vue-color-avatar --restart=always vue-color-avatar:v1
```
Finally, open your browser and access the service's address at http://serverIP:5173