Merge pull request #326 from mozilla/node-10 r=@vladikoff
feat(docker): Use node 10 to build the docker image
This commit is contained in:
Коммит
8a7fa302d8
|
@ -5,8 +5,7 @@ env:
|
|||
global:
|
||||
- TMPDIR=/tmp
|
||||
|
||||
node_js:
|
||||
- '8'
|
||||
node_js: "10"
|
||||
|
||||
sudo: false
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:8-alpine
|
||||
FROM node:10-alpine
|
||||
|
||||
RUN npm install -g npm@6 && rm -rf ~app/.npm /tmp/*
|
||||
|
||||
|
@ -13,6 +13,6 @@ USER app
|
|||
COPY npm-shrinkwrap.json npm-shrinkwrap.json
|
||||
COPY package.json package.json
|
||||
|
||||
RUN npm install --production && rm -rf ~app/.npm /tmp/*
|
||||
RUN npm ci --production && rm -rf ~app/.npm /tmp/*
|
||||
|
||||
COPY . /app
|
||||
|
|
Загрузка…
Ссылка в новой задаче