diff --git a/Dockerfile b/Dockerfile index 98bff78..4b995f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM golang:alpine +FROM golang:1.15-alpine WORKDIR /src RUN apk add --update npm git RUN go get -u github.com/jteeuwen/go-bindata/... COPY ./webapp/package.json webapp/package.json +COPY ./webapp/package-lock.json webapp/package-lock.json RUN cd ./webapp && \ - npm install + npm ci COPY . . RUN cd ./webapp && \ npm run build