docker: use yarn to build (#29538)

This commit is contained in:
Brett Snyder
2020-12-02 15:49:48 +01:00
committed by GitHub
parent 068fef8c7c
commit 2d49d3f5b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ COPY scripts scripts
COPY emails emails
ENV NODE_ENV production
RUN ./node_modules/.bin/grunt build
RUN yarn build
FROM golang:1.15.1-alpine3.12 as go-builder
+1 -1
View File
@@ -14,7 +14,7 @@ COPY scripts scripts
COPY emails emails
ENV NODE_ENV production
RUN ./node_modules/.bin/grunt build
RUN yarn build
FROM golang:1.15.1 AS go-builder