79431522

Date: 2025-02-11 23:09:30
Score: 1.5
Natty:
Report link

Is it possible? Yes. However, putting aside the fact that copying a binary poses a security risk, you should not be storing anything inside the /tmp/ folder. As the name suggests, it is a temporary folder and is not persistent storage. It gets cleared on a reboot

So, the potential workarounds are:

  1. Containerize the function app. You can create a custom container and deploy your function inside that, giving you full control over the runtime environment

  2. Continue to copy the binary to /tmp/

  3. Use a premium or dedicated plan instead of consumption plan. The filesystem for these plans are writable and persistent.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Monkey D Luffy