Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 434 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 434 Bytes

This project uses docker for dev and test env.

Docker

First, build an image using Dockerfile.dev

docker build -f Dockerfile.dev .
docker run -p 3000:3000 -v /app/node_modules -v $(pwd):/app image_id

or you can use docker-compose as

docker-compose up --build

To run tests, use

docker build -f Dockerfile.dev .
docker run -p 3000:3000 -v /app/node_modules -v $(pwd):/app image_id yarn test