This commit is contained in:
crusader 2017-11-09 20:17:06 +09:00
parent ff77705943
commit 1f19445af6
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,4 @@
rm ./dist/*
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_gateway_app
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_gateway_app
docker build -f Dockerfile -t docker.loafle.net/overflow/overflow_gateway_app:1.0.0-alpine .

View File

@ -3,7 +3,7 @@ version: "3"
services:
overflow_gateway_web:
restart: always
image: docker.loafle.net/overflow/overflow_gateway_app:1.0.0-SNAPSHOT
image: docker.loafle.net/overflow/overflow_gateway_app:1.0.0-alpine
container_name: overflow_gateway_app
volumes:
- /service/overflow_gateway_app/data/opt/config:/opt/config