UNPKG

422 BPlain TextView Raw
1# --- 🐳 Cypress CI Dockerfile ---
2# Extend the cypress/included base image with tools used in addition to Cypress
3
4FROM cypress/included:3.8.3
5
6# Install any packages used in Cypress test files
7RUN npm install @percy/cypress
8
9# Reset the `cypress run` entrypoint set by the `cypress/included` image
10ENTRYPOINT []
11# Wrap Cypress call with Percy for snapshot testing
12CMD [ "npx", "percy", "exec", "--", "cypress", "run"]