grep works with command

updated build scripts
acceptence tests break, files are written as root when user is node
This commit is contained in:
Henry Oswald
2018-03-29 13:07:55 +01:00
parent b5a7eabaab
commit b330ee2d5b
10 changed files with 47 additions and 32 deletions

View File

@@ -11,8 +11,9 @@ services:
volumes:
- .:/app
working_dir: /app
user: node
entrypoint: npm run test:unit
environment:
MOCHA_GREP: ${MOCHA_GREP}
command: npm run test:unit
test_acceptance:
build: .
@@ -25,11 +26,12 @@ services:
environment:
REDIS_HOST: redis
MONGO_HOST: mongo
user: node
environment:
MOCHA_GREP: ${MOCHA_GREP}
depends_on:
- redis
- mongo
entrypoint: npm run test:acceptance
command: npm run test:acceptance
redis:
image: redis