Add frontend test docker config

Adds Dockerfile to make headless Chrome image
This commit is contained in:
Alasdair Smith
2018-02-13 15:42:27 +00:00
parent 89c9475d29
commit ff7e016227
2 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,15 @@ services:
- mongo
command: node app.js
test_frontend:
build:
context: .
dockerfile: Dockerfile.frontend
volumes:
- .:/app
working_dir: /app
command: npm run test:frontend
redis:
image: redis