Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
feat(docker): Use node 10 to build the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Tomlinson committed Mar 20, 2019
1 parent 24e3688 commit 2b124c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ env:
global:
- TMPDIR=/tmp

node_js:
- '8'
node_js: "10"

sudo: false

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:8-alpine
FROM node:10-alpine

RUN npm install -g npm@6 && rm -rf ~app/.npm /tmp/*

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

0 comments on commit 2b124c2

Please sign in to comment.