Hi @gabimor—the root filesystem for a Fly Machine is ephemeral by design. It’s reset when the Machine is restarted or the app is redeployed, so files created at runtime won’t be persisted.
For persistent storage, you can look into using volumes with your app. (Here are links to an overview and a step-by-step guide.)
Thanks @MatthewIngwersen, I know vaguely about volumes, will read up right away!
My issue is that I’m using node-html-to-image package, which, upon npm install downloads a copy of puppeteer and stores it locally. the thing is the folder it creates vanishes, although it’s part of the npm install command (run by a github action). so node_modules is there, but the folder which is created as a sideeffect to npm i is not. (this folder should be directly under my_app)
hope I was clear, if this is too specific of a problem ill undestand just thought maybe this is something obvious i’m missing
BTW, my app is a Remix app using the Blues stack for deployment.
Many thanks!
after inspecting I see the docker image doesn’t contain the needed folder side effect downloaded after npm i so this is not is not related to volumes and ephemerality but rather some other issue . Many thanks!