Browse Source

build: fixes building grafana completely within docker.

Fixes #15060
Leonard Gram 7 years ago
parent
commit
674ab73806
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

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