From 1f19445af63e23bf477c1a66b04df5486ebbe0f3 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 9 Nov 2017 20:17:06 +0900 Subject: [PATCH] ing --- build.sh | 4 +++- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 57f9967..38dc88e 100644 --- a/build.sh +++ b/build.sh @@ -1,2 +1,4 @@ rm ./dist/* -CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_gateway_app \ No newline at end of file +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 . \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 87068e3..9aaff3e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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