dockerfile changes
This commit is contained in:
parent
387b98a23f
commit
fbe5ab92b8
@ -3,11 +3,11 @@
|
|||||||
# https://hub.docker.com/_/golang
|
# https://hub.docker.com/_/golang
|
||||||
FROM golang:1.13 as builder
|
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
|
RUN go get -u github.com/golang/dep/cmd/dep
|
||||||
|
|
||||||
|
# Create and change to the app directory.
|
||||||
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
# Retrieve application dependencies.
|
# Retrieve application dependencies.
|
||||||
# This allows the container build to reuse cached dependencies.
|
# This allows the container build to reuse cached dependencies.
|
||||||
COPY go.* ./
|
COPY go.* ./
|
||||||
|
Loading…
Reference in New Issue
Block a user