Skip to content

Instantly share code, notes, and snippets.

@yanfengliu
Created July 28, 2021 22:52
Show Gist options
  • Save yanfengliu/f334965598ed140d200ba012ea507bbf to your computer and use it in GitHub Desktop.
Save yanfengliu/f334965598ed140d200ba012ea507bbf to your computer and use it in GitHub Desktop.
Dockerfile that starts a server then run cypress tests
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