If you are using docker-compose, you can prepend all commands with docker-compose run --rm frontend
. example:
docker-compose run --rm frontend npm ci
docker-compose up -d
Site will be available on http://localhost:8080
npm ci
npm run serve
npm run build
npm run test
npm run lint
npm run test:unit