Skip to content

Commit

Permalink
fix: Dockerfile and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
RayHuangCN committed Dec 11, 2020
1 parent 89d23ce commit ca517d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:latest
COPY build/kvass /kvass
COPY kvass /kvass

ENTRYPOINT ["/kvass"]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ test-coverage: ## Run tests with coverage
@cat cover.out >> coverage.txt

build: dep ## Build the binary file
@go build -i -o build/kvass cmd/kvass/*.go
@go build -i -o kvass cmd/kvass/*.go

clean: ## Remove previous build
@rm -fr ./build
@rm -fr kvass
@rm -fr cover.out coverage.txt

0 comments on commit ca517d2

Please sign in to comment.