added Dockerfile

This commit is contained in:
Danny Coates 2017-06-08 16:11:17 -07:00
parent 2bb0c7eb4b
commit 53f264e63b
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 902 additions and 446 deletions

20
.circleci/circle.yml Normal file
View file

@ -0,0 +1,20 @@
version: 2
jobs:
build:
working_directory: ~/app
docker:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: npm-install
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- .node_modules
- run:
name: test
command: npm test