-
Notifications
You must be signed in to change notification settings - Fork 3
Build and Run in Docker
Filipe Correa edited this page Aug 11, 2020
·
1 revision
Docker Compose can be used to build and run this application and all the different tests in separate Docker containers.
Build and run the project in Docker:
docker-compose up -dCode style, unit, integration, security and performance tests will run automatically in separate Docker containers.
Check which containers are running with:
docker psWhen libras_test_cover container finishes its execution, access generated code coverage report on coverage directory or open coverage/lcov-report/index.html in a web browser.
When libras_test_performance container finishes its execution, access generated performance report on logs/performance.log or run:
npm run performance:reportlogs/performance.log.html should open in a web browser.
Remove all containers and network:
docker-compose down