Created
June 25, 2019 19:09
-
-
Save martindevnow/6294e9a3b85cbd50af111344ede71dba to your computer and use it in GitHub Desktop.
This file contains 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 characters
FROM cypress/base:8 as e2eBuild | |
# Copy NPM & Install | |
COPY ./cypress/package.json /tmp/package.json | |
RUN cd /tmp && CI=true npm install | |
RUN CI=true /tmp/node_modules/.bin/cypress install | |
RUN mkdir -p /e2e && cp -a /tmp/node_modules /e2e/ | |
WORKDIR /e2e | |
# Copy files for config | |
COPY ./cypress/cypress.json /e2e | |
# Run tests | |
CMD ["./node_modules/.bin/cypress", "run" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment