• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

eb내부에서 docker이미지 생성이 안됩니다.

21.09.23 05:02 작성 조회수 135

0

eb-engin에서 react build가 fail뜹니다

 

2021/09/22 18:33:00.996743 [ERROR] An error occurred during execution of command [app-deploy] - [Docker Specific Build Application]. Stop running the command. Error: failed to build docker images: Command /bin/sh -c docker-compose build failed with error exit status 1. Stderr:Building react

The command '/bin/sh -c npm i' returned a non-zero code: 244

Service 'react' failed to build : Build failed

답변 2

·

답변을 작성해보세요.

1

안녕하세요 ! Ym J 님  아무래도 버전에 따라서 영향을 받는게 많다보니 node 버전과 호환이 되는게 있고 안되는게 있나봅니다 !    화면 안나온다는건 노드 버전을 바꾸고 해도 안나온다는건가요?! 

Ym J님의 프로필

Ym J

질문자

2021.09.23

들어가보면 502상태이고 eb상태가 심각으로 뜨네요. 일단 deploy는 성공했으니까 질문했던거 이거 보면서 다시 해보겠습니다.

https://www.inflearn.com/course/%EB%94%B0%EB%9D%BC%ED%95%98%EB%A9%B0-%EB%B0%B0%EC%9A%B0%EB%8A%94-%EB%8F%84%EC%BB%A4-ci/lecture/87558?tab=curriculum

0

Ym J님의 프로필

Ym J

질문자

2021.09.23

성공은 했습니다만.. 아무래도 nodejs 14-alpine버전 설치중에 무언가가 잘 못 되었던거 같습니다. 왜 되는지는 정확히 모르겠네요. 그리고 화면은 안나옵니다. elb에서 문제가 생긴거같아요ㅠ

Environment health has transitioned from Ok to Severe. ELB processes are not healthy on all instances. ELB health is failing or not available for all instances.