Skip to content

Commit d6f7c6e

Browse files
committed
specify binary output for go build and fixed shell script for production mpfrontend
1 parent 441dcd5 commit d6f7c6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ usage:
1313
build: build-mpserver build-mpfrontend
1414

1515
build-mpserver:
16-
cd mpserver && GOOS=linux GOARCH=amd64 go build && cd ..
16+
cd mpserver && GOOS=linux GOARCH=amd64 go build -o mpserver && cd ..
1717

1818
build-mpfrontend:
1919
cd mpfrontend && npm run build-dev

docker-prod-mpfrontend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ TAG=latest
44
if [ "${TRAVIS_TAG}" != "" ]; then
55
TAG=${TRAVIS_TAG}
66
fi
7-
docker build --no-cache -t aouyang1/mpfrontend:${TAG} -f mpserver/Dockerfile_prod mpfrontend/
7+
docker build --no-cache -t aouyang1/mpfrontend:${TAG} -f mpfrontend/Dockerfile_prod mpfrontend/

0 commit comments

Comments
 (0)