2026-06-24 19:48:54 +03:00
|
|
|
FROM mcr.microsoft.com/playwright:v1.61.0-jammy
|
2026-01-07 09:44:50 +04:00
|
|
|
|
2026-08-04 00:23:54 +03:00
|
|
|
RUN addgroup -S playwright \
|
2026-08-04 01:47:32 +03:00
|
|
|
&& adduser --system playwright -G playwright --shell=/bin/bash
|
2026-08-04 00:23:54 +03:00
|
|
|
|
|
|
|
|
USER playwright
|
|
|
|
|
|
2026-01-07 09:44:50 +04:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
|
|
ENV CI=1
|
|
|
|
|
|
|
|
|
|
CMD ["yarn", "e2e:pw"]
|