Keep Playwright container alive after test run

This commit is contained in:
A R R R Associates
2026-06-23 11:38:12 +05:30
parent b9bf206a25
commit 321d11cac7
+2 -2
View File
@@ -7,6 +7,6 @@ RUN npm ci
COPY . .
RUN mkdir -p results
RUN mkdir -p results test-results playwright-report
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list"]
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list --workers=1; echo 'Tests completed. Container kept alive.'; tail -f /dev/null"]