0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/Dockerfile.playwright

21 lines
482 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.29.2-focal
WORKDIR /work
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml ./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm install
COPY playwright.config.ts webpack.config.js babel.config.js tsconfig.json ./
COPY .storybook/ .storybook/