Created
August 1, 2022 07:01
-
-
Save vkbansal/5356634b293f45c9f8b69a8f569a1cc5 to your computer and use it in GitHub Desktop.
Harness blog snippet - Cypress CI DockerFile
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/browsers:node14.16.0-chrome90-ff88 | |
WORKDIR /opt/cypress | |
# copy the built app | |
COPY dist /opt/app | |
# copy cypress folder | |
COPY cypress /opt/cypress | |
# run yarn | |
RUN yarn install && yarn cache clean --all | |
EXPOSE 8181 | |
EXPOSE 8099 | |
ENTRYPOINT ["sh", "/opt/cypress/docker/entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment