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; echo 'Tests completed. Container kept alive.'; tail -f /dev/null"]