You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- host.docker.internal:host-gateway # allows network calls between docker container and the host. See https://forums.docker.com/t/how-to-reach-localhost-on-host-from-docker-container/113321
working_dir: /app
entrypoint: /bin/sh
command:
- -c
- |
${NPM_INSTALL_COMMAND:-npm i}
npx playwright test ${PLAYWRIGHT_TEST_OPTIONS:-}
volumes:
- .:/app
- npm-cache:/root/.npm
- node-modules:/app/node_modules # exclude node_modules from the mounted /app dir. See https://www.howtogeek.com/devops/how-to-mount-a-docker-volume-while-excluding-a-subdirectory/