How do I know why my application is not being deployed?

0

Hello everyone,

I am using the AWS app runner service to deploy an application coded with Flask. Here is my yaml file "apprunner" :

version: 1.0
runtime: python3 
build:
  commands:
    build:
      - yum -y install git
      - pip install -r requirements.txt
      - pip install -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
run: 
  command: python app.py

I tested the last command locally and my web application worked perfectly. But when I am creating the service and deploying it, I get the following logs :

08-18-2022 05:18:45 PM [AppRunner] Failed to deploy your application source code.
08-18-2022 05:10:36 PM [Build] Successfully tagged application-image:latest
08-18-2022 05:10:36 PM [Build] Successfully built ecfdf95e65ad
08-18-2022 05:10:36 PM [Build]  ---> ecfdf95e65ad
08-18-2022 05:10:36 PM [Build] Removing intermediate container c58cebc4e5d9
08-18-2022 05:10:36 PM [Build]  ---> Running in c58cebc4e5d9
08-18-2022 05:10:36 PM [Build] Step 7/7 : EXPOSE 8080

How can I get more informations about what was wrong in my code ?

질문됨 2년 전76회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠