0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
posthog/Dockerfile.playwright
David Newell 1961b5b6f1
chore: upgrade playwright (#18793)
* chore: upgrade playwright

* remove core

* upgrade container image

* use test-runner version
2023-11-23 13:51:01 +01:00

21 lines
553 B
Docker

#
# This Dockerfile is used for locally running Playwright in a Linux environment.
# We do this to ensure our reference images for visual regression tests are the same during development and in CI.
#
FROM mcr.microsoft.com/playwright:v1.32.2
WORKDIR /work
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml ./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm install --frozen-lockfile
COPY playwright.config.ts webpack.config.js babel.config.js tsconfig.json test-runner-jest.config.js test-runner-jest-environment.js ./
COPY .storybook/ .storybook/