Add docker-compose Playwright E2E stack

This commit is contained in:
Lain Soykaf 2026-01-07 09:44:50 +04:00
commit 7ffec2c324
12 changed files with 359 additions and 65 deletions

17
docker/e2e/Dockerfile.e2e Normal file
View file

@ -0,0 +1,17 @@
FROM mcr.microsoft.com/playwright:v1.55.0-jammy
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"]