Skip to content

Commit

Permalink
Merge pull request #5 from juntossomosmais/fix/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 e1c5e5c + 45169b1 commit 95cfd69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ RUN npm --version
RUN java -version

# Instalar o Google Chrome
USER root
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
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub && \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable

# Instalar dependências do Cypress

Expand All @@ -41,5 +43,3 @@ EXPOSE 8080
# Script para personalizar comandos
ENTRYPOINT ["./entrypoint.sh", "npx", "cypress", "run"]



0 comments on commit 95cfd69

Please sign in to comment.