diff --git a/isprime-go/Dockerfile b/isprime-go/Dockerfile index 70de6d3..c0e2d86 100644 --- a/isprime-go/Dockerfile +++ b/isprime-go/Dockerfile @@ -3,11 +3,11 @@ # https://hub.docker.com/_/golang FROM golang:1.13 as builder -# Create and change to the app directory. -WORKDIR /app - RUN go get -u github.com/golang/dep/cmd/dep +# Create and change to the app directory. +WORKDIR /go/src/app + # Retrieve application dependencies. # This allows the container build to reuse cached dependencies. COPY go.* ./