forked from TangSengDaoDao/TangSengDaoDaoServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (19 loc) · 858 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
build:
docker build -t tangsengdaodaoserver .
push:
docker tag tangsengdaodaoserver registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:latest
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongchatserver:latest
deploy:
docker build -t tangsengdaodaoserver .
docker tag tangsengdaodaoserver registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:latest
docker push registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:latest
deploy-v1.5:
docker build -t tangsengdaodaoserver .
docker tag tangsengdaodaoserver registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:v1.5
docker push registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:v1.5
run-dev:
docker-compose build;docker-compose up -d
stop-dev:
docker-compose stop
env-test:
docker-compose -f ./testenv/docker-compose.yaml up -d