docker: use yarn to build (#29538)

pull/29516/head
Brett Snyder 5 years ago committed by GitHub
parent 068fef8c7c
commit 2d49d3f5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dockerfile
  2. 2
      Dockerfile.ubuntu

@ -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

@ -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

Loading…
Cancel
Save