-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
yhAutomationQA edited this page May 16, 2026
·
1 revision
Run tests with no local Node.js or Cypress binary needed.
npm run docker:buildnpm run docker:test # All tests (dev)
npm run docker:test:qa # QA environment
npm run docker:test:staging # Staging
npm run docker:smoke # @smoke tag
npm run docker:regression # @regression tag
npm run docker:api # @api tag
npm run docker:bash # Interactive shellMulti-stage Dockerfile using cypress/base:20:
| Stage | Content |
|---|---|
base |
Node 20 + system deps |
dependencies |
npm ci + cypress verify (cached) |
production |
Source code + report dirs |
Six volume mounts for report persistence. Optimizations: CI=1, ipc: host, init: true, .dockerignore excludes 90% of build context.