Error when deploying docker image on lambda using SAM instead of serverless #1136
-
Hi @mnapoli I am running a Laravel application using docker and tried to deploy it in lambda using bref and SAM Dockerfile
and i did sam build and sam deploy -g but it shows error like "
it returns error like and my template.yaml is like
Actually i was successfully deploy and run application in lambda using serverless framework (serverless.yml), but now i am facing issue while i tried same with AWS SAM Any help would be appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Follow the format described in the documentation: https://bref.sh/docs/web-apps/docker.html Your second attempt looks correct (at least it matches the documentation), but maybe the whole I would try to run |
Beta Was this translation helpful? Give feedback.
Follow the format described in the documentation: https://bref.sh/docs/web-apps/docker.html
Your second attempt looks correct (at least it matches the documentation), but maybe the whole
vendor
folder is overridden by yourCOPY . /var/task
?I would try to run
bash
in the container and check the content of/var/task
.