增加makefile快速打包插件 (#1173)

* 更新插件快捷打包

使用方法:make plugin PLUGIN="这里是插件文件夹名称,默认为email"
This commit is contained in:
tscuite
2022-07-19 18:47:29 +08:00
committed by GitHub
parent 82fcc196df
commit 9ac66f57fa
6 changed files with 23 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ services:
#command: bash -c "yarn config set registry https://registry.npm.taobao.org --global && yarn install && yarn serve"
command: bash -c "yarn install && yarn serve"
volumes:
- ./web:/web
- ../../web:/web
networks:
network:
ipv4_address: 177.7.0.11
@@ -44,7 +44,7 @@ services:
- mysql
- redis
volumes:
- ./server:/server
- ../../server:/server
working_dir: /server # 如果docker 设置了workdir 则此处不需要设置
command: bash -c "go env -w GOPROXY=https://goproxy.cn,direct && go mod tidy && go run main.go"
links:

View File

@@ -16,7 +16,7 @@ volumes:
services:
web:
build:
context: ./web
context: ../../web
dockerfile: ./Dockerfile
container_name: gva-web
restart: always
@@ -31,7 +31,7 @@ services:
server:
build:
context: ./server
context: ../../server
dockerfile: ./Dockerfile
container_name: gva-server
restart: always