diff --git a/Dockerfile b/Dockerfile index 80fa3bb..a946d19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ RUN apk add --no-cache curl COPY _docker/config/* /etc/overflow/config/ COPY _docker/bin/* /usr/local/overflow/bin/ +COPY dist/member_gateway_rpc /usr/local/overflow/bin/ RUN mkdir -p /etc/overflow/config; \ mkdir -p /usr/local/overflow/bin; \ diff --git a/_docker/bin/member_gateway_rpc b/_docker/bin/member_gateway_rpc deleted file mode 100755 index 5951e2e..0000000 Binary files a/_docker/bin/member_gateway_rpc and /dev/null differ diff --git a/build.sh b/build.sh index 9962098..68bbc6b 100755 --- a/build.sh +++ b/build.sh @@ -1,8 +1,8 @@ #!/bin/bash -rm ./_docker/bin/member_gateway_rpc +rm ./dist CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./_docker/bin/member_gateway_rpc docker build -t docker.loafle.net/overflow/member_gateway_rpc:1.0.0 . -#docker push docker.loafle.net/overflow/member_gateway_rpc:1.0.0 +docker push docker.loafle.net/overflow/member_gateway_rpc:1.0.0