ing
This commit is contained in:
parent
ff77705943
commit
1f19445af6
4
build.sh
4
build.sh
|
@ -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 .
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user