A boilerplate using docker-compose to build a React app, API and integration tests.
Develop the app with:
docker-compose up --buildRun the production app with:
docker-compose -f docker-compose.yml -f docker-compose-prod.yml up --buildRun the tests with:
docker-compose -f docker-compose.yml -f docker-compose-prod.yml -f docker-compose-test.yml run e2eNOTE: You'll need to run the following commands to get the app to run (for some reason...)
docker-compose run web yarn
docker-compose run web yarn build