diff --git a/Dockerfile b/Dockerfile
index cf7f589b02d0798ba44126c249a2d10cfb778e50..8758fe8a5662dfe3dee78774bb9c334c71c108f8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,9 @@ RUN apk add --no-cache curl git gcc musl-dev
 RUN curl https://glide.sh/get | sh
 
 WORKDIR /go/src/app
-COPY *.go ./
 COPY glide.* ./
 RUN glide install
+COPY *.go ./
 RUN CGO_ENABLED=false go build -a app .
 
 FROM node:alpine as asset_builder