From ca517d2e726a5f4ac7208ceeb9ebae949588ef21 Mon Sep 17 00:00:00 2001 From: RayHuangCN Date: Fri, 11 Dec 2020 12:01:52 +0800 Subject: [PATCH] fix: Dockerfile and Makefile --- Dockerfile | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2413531..1d1a49a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM ubuntu:latest -COPY build/kvass /kvass +COPY kvass /kvass ENTRYPOINT ["/kvass"] diff --git a/Makefile b/Makefile index 0e7dc4a..f4d1fdc 100644 --- a/Makefile +++ b/Makefile @@ -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