1

I'm trying to run the Rails app in AWS lambda (using lamby gem) via docker image. I'm getting the following error.

Rails Error: Unable to access log file. Please ensure that /fi-service/log/development.log exists and is writable (ie, make it writable for user and group: chmod 0664 /fi-service/log/development.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

I even added the following commands in the dockerfile (as suggested here)

RUN touch log/development.log
RUN chmod 0664 log/development.log
James Z
  • 12,209
  • 10
  • 24
  • 44

0 Answers0