Skip to content

Instantly share code, notes, and snippets.

@antydemant
Last active January 14, 2021 21:05
Show Gist options
  • Save antydemant/259bc74d0b96dfbb7c1d50b4ae639de8 to your computer and use it in GitHub Desktop.
Save antydemant/259bc74d0b96dfbb7c1d50b4ae639de8 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /app/tests/js/e2e/cypress || exit
eval "$@"
FROM cypress/browsers:node12.18.3-chrome87-ff82
# setup
WORKDIR /app
RUN mkdir -p /app/tests/js/e2e/cypress/
WORKDIR /app/tests/js/e2e/cypress
COPY ./tests/js/e2e/cypress/package.json ./package.json
RUN npm install --no-save
COPY tests/js/e2e/cypress/docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment