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 02:11:45 +03:00
|
|
|
RUN npm install -g yarn@1.22.22
|
|
|
|
|
|
|
|
|
|
RUN adduser --system playwright --group --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
|
|
|
|
|
|
|
|
|
|
COPY package.json yarn.lock ./
|
|
|
|
|
RUN yarn --frozen-lockfile
|
|
|
|
|
|
2026-08-04 16:25:24 +03:00
|
|
|
COPY --chown=playwright ./build ./src ./test ./public ./static ./node_modules ./yarn.lock ./package.json .
|
2026-01-07 09:44:50 +04:00
|
|
|
|
|
|
|
|
ENV CI=1
|
|
|
|
|
|
|
|
|
|
CMD ["yarn", "e2e:pw"]
|