Created
October 8, 2018 15:56
-
-
Save tuliobluz/d3999ca2c2ef02291b70c7e4fc97afda to your computer and use it in GitHub Desktop.
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 ubuntu:16.04 | |
RUN mkdir -p /usr/app/protractor | |
WORKDIR /usr/app/protractor | |
ADD . . | |
RUN apt-get update | |
RUN apt-get install -y curl wget dpkg | |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install | |
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
RUN apt-get install -y nodejs | |
RUN apt-get install -y default-jdk | |
RUN npm install | |
RUN npm run webdriver-update | |
CMD npm run e2e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment