some of the command from bash script is not running

0

I am running a docker image container in aws lambda (python3 env). From python handler function I am running as bash script which download node js project from s3 and then I run 'npm install' and 'npm run build'. But these two commands are not working and code not compiled. Please help me on this

Thanks

  • Do you see any error messages in the CloudWatch logs for the Lambda function?

已提問 2 年前檢視次數 447 次
1 個回答
0

You can check this article on how to deploy lambda functions with container images where you can find a pattern that shows how to deploy Lambda functions through container images, this different that running a lambda with Python 3.x environment.

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南