Created
July 23, 2024 06:02
-
-
Save badgeek/ce9f769bfb59bf90b43ee0d525b86727 to your computer and use it in GitHub Desktop.
Revisions
-
badgeek created this gist
Jul 23, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ FROM cypress/browsers # Set the working directory WORKDIR /opt/app # Copy package.json and package-lock.json (if available) COPY package*.json ./ # Install dependencies RUN npm ci # Install Cypress binary RUN npx cypress install # Copy the Cypress configuration file (if exists) COPY cypress.json . # Copy the Cypress test files COPY cypress ./cypress