From deaf725bae42665d62f09e34b75c5c708a6fa7ba Mon Sep 17 00:00:00 2001 From: Andrew Schleifer Date: Wed, 12 Sep 2018 15:03:13 +0800 Subject: [PATCH] COPY to WORKDIR deduplication --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c4ddcd2..4471ba5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:alpine as builder RUN apk add git -COPY main.go /go/src/github.com/discourse/discourse-auth-proxy/ WORKDIR /go/src/github.com/discourse/discourse-auth-proxy +COPY main.go . RUN go get && go build FROM alpine:latest