Jelajahi Sumber

部署方式

skyfffire 2 tahun lalu
induk
melakukan
772b57c751
1 mengubah file dengan 8 tambahan dan 15 penghapusan
  1. 8 15
      README.md

+ 8 - 15
README.md

@@ -1,24 +1,17 @@
 # eth_viewer_webapp
 
-## Project setup
-```
+### 开发环境
+```bash
 npm install
-```
-
-### Compiles and hot-reloads for development
-```
 npm run serve
 ```
 
-### Compiles and minifies for production
-```
-npm run build
+### 生产环境
+```bash
+docker build -t eth-app . && docker run -itd --name eth-app -p 80:80 eth-app
 ```
 
-### Lints and fixes files
-```
-npm lint
+### 之后要查看运行
+```bash
+docker exec -it eth-app /bin/bash
 ```
-
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).