diff --git a/Dockerfile b/Dockerfile index 30032cc..cf7d6ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -40,3 +40,6 @@ EXPOSE 8080 # Script para personalizar comandos ENTRYPOINT ["./entrypoint.sh", "npx", "cypress", "run"] + + +