Skip to content

Commit

Permalink
specify binary output for go build and fixed shell script for product…
Browse files Browse the repository at this point in the history
…ion mpfrontend
  • Loading branch information
aouyang1 committed Dec 30, 2019
1 parent 441dcd5 commit d6f7c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ usage:
build: build-mpserver build-mpfrontend

build-mpserver:
cd mpserver && GOOS=linux GOARCH=amd64 go build && cd ..
cd mpserver && GOOS=linux GOARCH=amd64 go build -o mpserver && cd ..

build-mpfrontend:
cd mpfrontend && npm run build-dev
Expand Down
2 changes: 1 addition & 1 deletion docker-prod-mpfrontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ TAG=latest
if [ "${TRAVIS_TAG}" != "" ]; then
TAG=${TRAVIS_TAG}
fi
docker build --no-cache -t aouyang1/mpfrontend:${TAG} -f mpserver/Dockerfile_prod mpfrontend/
docker build --no-cache -t aouyang1/mpfrontend:${TAG} -f mpfrontend/Dockerfile_prod mpfrontend/

0 comments on commit d6f7c6e

Please sign in to comment.