diff --git a/Dockerfile.playwright b/Dockerfile.playwright index 6271a937..46a2114a 100644 --- a/Dockerfile.playwright +++ b/Dockerfile.playwright @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:20 FROM mcr.microsoft.com/playwright:v1.48.0-noble @@ -12,10 +12,10 @@ COPY package*.json ./ RUN npm install # Install Playwright browsers -RUN npx playwright install --with-deps +RUN npx playwright install chromium --with-deps + +# Install jq +RUN apt-get install -y jq # Copy the rest of the application code COPY . . - -# Run Playwright tests -CMD ["npx", "playwright", "test"]