diff --git a/docker/e2e/Dockerfile.e2e b/docker/e2e/Dockerfile.e2e index da9c2499d..cc7cbf633 100644 --- a/docker/e2e/Dockerfile.e2e +++ b/docker/e2e/Dockerfile.e2e @@ -1,7 +1,8 @@ FROM mcr.microsoft.com/playwright:v1.61.0-jammy -RUN addgroup -S playwright \ - && adduser --system playwright -G playwright --shell=/bin/bash +RUN npm install -g yarn@1.22.22 + +RUN adduser --system playwright --group --shell=/bin/bash USER playwright @@ -9,8 +10,6 @@ WORKDIR /app ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 -RUN npm install -g yarn@1.22.22 - COPY package.json yarn.lock ./ RUN yarn --frozen-lockfile