fix docker build
This commit is contained in:
parent
8a52c717dc
commit
d8bb4b694e
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ SRC_DIR=$(ROOT_DIR)/cmd
|
||||
BIN=$(ROOT_DIR)/wa-profile-api
|
||||
GO_VERSION=$(shell go version | sed -e 's/go version //')
|
||||
|
||||
build: deps fmt swagger ## Build the app
|
||||
build: swagger deps fmt ## Build the app
|
||||
@echo "==> Building for prod with ${GO_VERSION}"
|
||||
@cd $(SRC_DIR) && CGO_ENABLED=0 go build -buildvcs=false -tags=release -o $(BIN) .
|
||||
@echo $(BIN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user