rails-lambda / lamby

🐑🛤 Simple Rails & AWS Lambda Integration
https://lamby.cloud
MIT License
602 stars 29 forks source link

Access to filesystem - Errno::EACCES (Permission denied #174

Closed lanks closed 5 months ago

lanks commented 9 months ago

Hi

I am trying to add an executable file to the docker image. However I am unable to access it via rails no matter what I try.

I am adding the file to the working directory in the location - /app/chromium

In my docker file I am providing full access to this directory - RUN chmod -R 777 /app/chromium

However, when I try to utilize this in my ruby code I receive the following error: Errno::EACCES (Permission denied - /app/chromium):

Does anyone know how to add directories / folders to the app or docker so they can be access via the rails app in the lambda function?

Cheers Liam