Deploy app runner from repo subfolder

0

I am trying to deploy a NodeJs express app using AWS app runner. The issue is that my source code for both the frontend and backend are contained in the same repo under different subfolders (i.e. my express app is located in 'repo/backend', while my frontend is in 'repo/frontend'). Unfortunately, I haven't been able to get app runner to deploy my express application from the repo folder.

My build command is: npm install My start command is: npm start

Note that I have been able to deploy the app successfully when the backend source code is uploaded in its own dedicated GitHub repo (i.e. from the repo's parent directory). So it does seem that the code being in its own subfolder within the repo is the issue.

Am I missing some configuration here or command? Any ideas would be very much appreciated!

답변 없음

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

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

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

관련 콘텐츠