2
respostas

Erro ao subir container ele reclama da falta THEN no arquivo

: not found06:56:07 alura-ms-web-financeiro-1      | ./entrypoint.sh: 2: 
2023-03-23 06:56:07 alura-ms-web-financeiro-1      | ./entrypoint.sh: 8: Syntax error: end of file unexpected (expecting "then")
: not found06:57:49 alura-ms-web-financeiro-1      | ./entrypoint.sh: 2: 
2023-03-23 06:57:49 alura-ms-web-financeiro-1      | ./entrypoint.sh: 8: Syntax error: end of file unexpected (expecting "then")
: not found07:05:43 alura-ms-web-financeiro-1      | ./entrypoint.sh: 2: 
2023-03-23 07:05:43 alura-ms-web-financeiro-1      | ./entrypoint.sh: 8: Syntax error: end of file unexpected (expecting "then")
: not found07:18:55 alura-ms-web-financeiro-1      | ./entrypoint.sh: 2: 
2023-03-23 07:18:55 alura-ms-web-financeiro-1      | ./entrypoint.sh: 8: Syntax error: end of file unexpected (expecting "then")

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

2 respostas

Resolvido pelo poste deste link. https://cursos.alura.com.br/forum/topico-host-not-found-in-upstream-web-financeiro-243432

dos2unix -u academico-php.sh
dos2unix -u academico-php-web.sh
dos2unix -u financeiro-php.sh
dos2unix -u front-end.sh
dos2unix -u mkt-node.sh

Olá, Jeferson. Tudo bem?

Que bom que conseguiu resolver!

Bons estudos!