I am trying to run my flask app to lambda. It deploy successfully (using serverless framework) but when I'm testing I get this error :
OSError: [Errno 30] Read-only file system
Part of the code that trigger the error :
with open("tmp/some-file.zip", "wb") as binary_file:
binary_file.write(file_content)
Any suggestion ?