Sign inSign up

gabrielstellini/node-chrome

By gabrielstellini

•Updated about 6 years ago

Node 10.18.1, jessie-slim, chrome headless, lhci, firebase

Image
1

6.1K

gabrielstellini/node-chrome repository overview

This docker image is used to deploy an angular app to firebase. LHCI is used to check that no regression was made to SEO, SSR and responsiveness of the PWA.

Source:

FROM node:10.18.1-jessie-slim
RUN apt-get update

# Install downloader
RUN apt-get install wget -y
RUN apt-get install git -y

# Download & Install Chrome
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

#Fix docker npm directory
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
# optionally if you want to run npm global bin without specifying path
ENV PATH=$PATH:/home/node/.npm-global/bin

RUN npm install -g @lhci/[email protected]
RUN npm install -g firebase-tools

Tag summary

Content type

Image

Digest

Size

369 MB

Last updated

about 6 years ago

docker pull gabrielstellini/node-chrome