COPY to WORKDIR

deduplication
This commit is contained in:
Andrew Schleifer 2018-09-12 15:03:13 +08:00
parent 3931d81e78
commit deaf725bae
1 changed files with 1 additions and 1 deletions

View File

@ -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