Dockerfile: use go 1.14

This commit is contained in:
Adhityaa Chandrasekar committed 2020-03-31 06:39:52 -04:00
1 parent f8e6cc78dc
commit f09a619d41
1 file changed
+1 -2
+1 -2
View File
@@ -1,10 +1,9 @@
# backend build (api server)
FROM golang:1.12-alpine AS api-build
FROM golang:1.14-alpine AS api-build
RUN apk add --no-cache --update bash dep make git curl g++
COPY ./api /go/src/commento/api/
WORKDIR /go/src/commento/api
ENV GO111MODULE=on
RUN make prod -j$(($(nproc) + 1))