From fbe5ab92b891d63bdfa4ce9f2363d8bf310ae7b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 25 Oct 2019 22:41:00 +0200 Subject: [PATCH] dockerfile changes --- isprime-go/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.* ./