add go get
This commit is contained in:
parent
b2480324c3
commit
8ed735698b
1 changed files with 1 additions and 0 deletions
|
@ -2,5 +2,6 @@ FROM golang:latest
|
|||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
ADD . /app
|
||||
RUN go get -u
|
||||
RUN go build ./main.go
|
||||
CMD ["./main"]
|
Loading…
Reference in a new issue