i'll just use root anyway
This commit is contained in:
parent
d7e45ade84
commit
e4872d1bb5
1 changed files with 3 additions and 4 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
FROM mcr.microsoft.com/playwright:v1.61.0-jammy
|
FROM mcr.microsoft.com/playwright:v1.61.0-jammy
|
||||||
|
|
||||||
RUN addgroup -S playwright \
|
RUN npm install -g yarn@1.22.22
|
||||||
&& adduser --system playwright -G playwright --shell=/bin/bash
|
|
||||||
|
RUN adduser --system playwright --group --shell=/bin/bash
|
||||||
|
|
||||||
USER playwright
|
USER playwright
|
||||||
|
|
||||||
|
|
@ -9,8 +10,6 @@ WORKDIR /app
|
||||||
|
|
||||||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||||
|
|
||||||
RUN npm install -g yarn@1.22.22
|
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn --frozen-lockfile
|
RUN yarn --frozen-lockfile
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue