Last active
January 31, 2020 13:29
-
-
Save tiagogomes772/bbe264fc075177935b2d12efa548e5a4 to your computer and use it in GitHub Desktop.
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 characters
1 - Go to the project and edit the Dockerfile inside the cypress folder. | |
2 - Remove last command to run tests and make sure the last command is the build | |
3 - Got to the root of the project and run: docker build . -f ./cypress/Dockerfile -t meta-front-end:dev | |
4 - To run the cypress tests run this command: docker run -v ${PWD}/cypress:/app/cypress --rm meta-front-end:dev npm run test-prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment