build: fixes building grafana completely within docker.

Fixes #15060
This commit is contained in:
Leonard Gram 2019-01-25 10:50:05 +01:00
parent c7b556c0e4
commit 674ab73806
1 changed files with 3 additions and 1 deletions

View File

@ -19,11 +19,13 @@ COPY package.json package.json
RUN go run build.go build
# Node build container
FROM node:8
FROM node:10.14.2
WORKDIR /usr/src/app/
COPY package.json yarn.lock ./
COPY packages packages
RUN yarn install --pure-lockfile --no-progress
COPY Gruntfile.js tsconfig.json tslint.json ./