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 ?

asked 4 months ago31 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions