Skip to content

Instantly share code, notes, and snippets.

@vkbansal
Created August 1, 2022 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkbansal/5356634b293f45c9f8b69a8f569a1cc5 to your computer and use it in GitHub Desktop.
Save vkbansal/5356634b293f45c9f8b69a8f569a1cc5 to your computer and use it in GitHub Desktop.
Harness blog snippet - Cypress CI DockerFile
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