Update README.md

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

View File

@ -52,7 +52,7 @@ yarn dev
You can directly run using the image I have already built. You can directly run using the image I have already built.
```sh ```sh
#docker run #docker run
docker run -d -t -p 5173:5173 --restart=always docker.io/wenyang0/vue-color-avatar:latest docker run -d -t -p 5173:5173 --name vue-color-avatar --restart=always docker.io/wenyang0/vue-color-avatar:latest
``` ```
Or, you can manually compile it yourself if you prefer. Or, you can manually compile it yourself if you prefer.
@ -66,6 +66,6 @@ cd vue-color-avatar/
docker build -t vue-color-avatar:v1 . docker build -t vue-color-avatar:v1 .
#docker run #docker run
docker run -d -t -p 5173:5173 --restart=always vue-color-avatar:v1 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 Finally, open your browser and access the service's address at http://serverIP:5173