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