when I try to deploy the application using the command jets deploy, it is giving me the error below.
Over the Lambda size limit of 250MB Please reduce the size of your code. Sizes: Code: 0.6MB - /tmp/jets/sonder-hcm/stage/code Gem Layer: 279.5MB - /tmp/jets/sonder-hcm/stage/opt Total Package: 280.1MB Over limit by: 30.1MB Sometimes blowing away the /tmp/jets cache will reduce the size: rm -rf /tmp/jets
Can some one please advise what to do in order to get this error fix and deploy successfully ?
I have added a rails application to the jets application using Jets Afterburner mode(https://rubyonjets.com/docs/rails/afterburner/)
when I try to deploy the application using the command
jets deploy
, it is giving me the error below.Over the Lambda size limit of 250MB Please reduce the size of your code. Sizes: Code: 0.6MB - /tmp/jets/sonder-hcm/stage/code Gem Layer: 279.5MB - /tmp/jets/sonder-hcm/stage/opt Total Package: 280.1MB Over limit by: 30.1MB Sometimes blowing away the /tmp/jets cache will reduce the size: rm -rf /tmp/jets
Can some one please advise what to do in order to get this error fix and deploy successfully ?