Files
arrr-erp-test-v2/Dockerfile
T
2026-06-23 17:55:38 +05:30

12 lines
381 B
Docker

FROM mcr.microsoft.com/playwright:v1.61.0-jammy
WORKDIR /tests
COPY package*.json ./
RUN npm ci
COPY . .
RUN mkdir -p results test-results playwright-report
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list --workers=1; npm run report:json; npm run update:excel; echo 'Tests completed. Starting result server.'; node scripts/result-server.js"]