diff --git a/docker/e2e/Dockerfile.e2e b/docker/e2e/Dockerfile.e2e index 7e3fbfbf1..b6a1af2e2 100644 --- a/docker/e2e/Dockerfile.e2e +++ b/docker/e2e/Dockerfile.e2e @@ -1,5 +1,10 @@ FROM mcr.microsoft.com/playwright:v1.61.0-jammy +RUN addgroup -S playwright \ + && adduser -S playwright -G playwright + +USER playwright + WORKDIR /app ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1