From 5bb3e7781a2a86136ee5cd3318baff9c1e93cd5d Mon Sep 17 00:00:00 2001 From: Alpha Date: Thu, 31 Jan 2019 16:53:41 +0100 Subject: [PATCH] only main go --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf9d007..02a7b1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:latest RUN mkdir -p /app WORKDIR /app -ADD . /app +ADD main.go /app RUN go get -u RUN go build ./main.go CMD ["./main"] \ No newline at end of file