Skip to content

Commit

Permalink
Merge pull request #4 from juntossomosmais/fix/google-chrome
Browse files Browse the repository at this point in the history
feat: corrige install chrome
  • Loading branch information
lizarbventurim authored Oct 23, 2024
2 parents 3b205b9 + 58678e6 commit e1c5e5c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ RUN npm --version
RUN java -version

# Instalar o Google Chrome
RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable --no-install-recommends
RUN apt-get install -y wget
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install google-chrome-stable

# Instalar dependências do Cypress

Expand All @@ -40,3 +40,6 @@ EXPOSE 8080

# Script para personalizar comandos
ENTRYPOINT ["./entrypoint.sh", "npx", "cypress", "run"]



0 comments on commit e1c5e5c

Please sign in to comment.