Skip to content

Commit

Permalink
Merge pull request #3 from juntossomosmais/feat/add-google-chrome
Browse files Browse the repository at this point in the history
feat: add google chrome
  • Loading branch information
lizarbventurim authored Oct 23, 2024
2 parents 766fcfb + 493bf35 commit 3b205b9
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,27 @@ RUN apt-get update && apt-get install -y \
git \
default-jdk


# Instalar o Node.js
RUN node --version
RUN npm --version

# Exibe a versão do Java
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

# Instalar dependências do Cypress

#Instala dependencias do cypress

# Instala globalmente o allure-commandline
# Instalar globalmente o allure-commandline
RUN npm install -g allure-commandline


# Baixa e instala o binário do Cypress
# Baixar e instalar o binário do Cypress
RUN npx cypress install


# Browserlist
RUN npx browserslist@latest

Expand All @@ -37,7 +38,5 @@ WORKDIR /usr/src/app
# Expor uma porta (se o contêiner for servir uma aplicação)
EXPOSE 8080



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

0 comments on commit 3b205b9

Please sign in to comment.