Created
July 28, 2021 22:52
-
-
Save yanfengliu/f334965598ed140d200ba012ea507bbf to your computer and use it in GitHub Desktop.
Dockerfile that starts a server then run cypress tests
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
FROM cypress/included:8.0.0 | |
WORKDIR /app | |
COPY . . | |
RUN npm install | |
ENTRYPOINT ["npm", "run", "test:chrome"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment