Please help me with AWS App Runner. I tried various configuration options over a few days, but the build keeps failing :(
** ERROR LOG**
01-12-2023 08:19:38 PM [AppRunner] Deployment with ID : 66482a95a0b640a48945c7d4b4714e91 failed.
01-12-2023 08:18:30 PM [AppRunner] Starting source code build.
01-12-2023 08:18:30 PM [AppRunner] Successfully Validate configuration file.
01-12-2023 08:18:29 PM [AppRunner] Successfully pulled source code.
01-12-2023 08:17:57 PM [AppRunner] Successfully created pipeline for automatic deployments.
01-12-2023 08:17:04 PM [AppRunner] Deployment Artifact :- Repo Type: Source; Repository: https://github.com/COMPANYNAME/BookingTool; Branch : UAT
01-12-2023 08:17:04 PM [AppRunner] Deployment with ID : 66482a95a0b640a48945c7d4b4714e91 started. Triggering event : SERVICE_CREATE
GitHub repository path (Replaced my company name in the path)
https://github.com/COMPANYNAME/BookingTool/tree/UAT/BookingEngine/Src/Services/Master/Master.API
AWS App Runner Values configured (I tried various commands for build and run)
CONNECT TO GITHUB
Repository: BookingTool Branch: UAT
RUNTIME: .NET 6
BUILD
dotnet publish -c Release -o out
dotnet publish /BookingEngine/Src/Services/Master/Master.API.csproj -c Release -o out
dotnet publish BookingEngine/Src/Services/Master/Master.API.csproj -c Release -o out
dotnet publish /BookingEngine/Src/Services/Master/Master.API.csproj -c Release
dotnet publish /BookingEngine/Src/Services/Master/Master.API.csproj
RUN
dotnet out/BookingEngine/Src/Services/Master/Master.API.dll
dotnet run
dotnet out
dotnet out/Master.API.dll
PORT
8080
9002