api: use dep instead of go get

This commit is contained in:
Adhityaa Chandrasekar committed 2018-10-18 02:17:51 -04:00
1 parent 93c9ce0cad
commit a36b11f07d
5 files changed
+20 -8

No files matched your search

+2 -1
View File
@@ -4,7 +4,8 @@ FROM golang:1.10.2-alpine AS api-build
COPY ./api /go/src/commento-ce/api
WORKDIR /go/src/commento-ce/api
RUN apk update && apk add bash make git
RUN apk update && apk add bash make git curl
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN make prod -j$(($(nproc) + 1))