From 321d11cac782f17040b6dc4f8ac9eedf3eb2a5ca Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Tue, 23 Jun 2026 11:38:12 +0530 Subject: [PATCH] Keep Playwright container alive after test run --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 156470b..b03ea4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +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"] \ No newline at end of file