Skip to content

Instantly share code, notes, and snippets.

@badgeek
Created July 23, 2024 07:29
Show Gist options
  • Save badgeek/b21678b2bc09349a79bf3011759b1b35 to your computer and use it in GitHub Desktop.
Save badgeek/b21678b2bc09349a79bf3011759b1b35 to your computer and use it in GitHub Desktop.

Revisions

  1. badgeek created this gist Jul 23, 2024.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    FROM cypress/base
    COPY . /opt/app
    WORKDIR /opt/app
    RUN npx cypress install # Install Cypress binary into image

    COPY . .

    ENTRYPOINT ["npx", "cypress", "run"]