i'll just use root anyway

This commit is contained in:
Henry Jameson 2026-08-04 02:11:45 +03:00
commit e4872d1bb5

View file

@ -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