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 ?

Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions