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?

gefragt vor 2 Jahren447 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen