FROM avatsaev/angular-chrome-headless # Copy package.json first allow to cache the modules COPY ./package.json /app/package.json RUN cd /app; npm install COPY . /app WORKDIR /app # run the test command defined in the package.json RUN npm run test:ci