docker: use yarn to build (#29538)

This commit is contained in:
Brett Snyder 2020-12-02 09:49:48 -05:00 committed by GitHub
parent 068fef8c7c
commit 2d49d3f5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ COPY scripts scripts
COPY emails emails COPY emails emails
ENV NODE_ENV production ENV NODE_ENV production
RUN ./node_modules/.bin/grunt build RUN yarn build
FROM golang:1.15.1-alpine3.12 as go-builder FROM golang:1.15.1-alpine3.12 as go-builder

View File

@ -14,7 +14,7 @@ COPY scripts scripts
COPY emails emails COPY emails emails
ENV NODE_ENV production ENV NODE_ENV production
RUN ./node_modules/.bin/grunt build RUN yarn build
FROM golang:1.15.1 AS go-builder FROM golang:1.15.1 AS go-builder