Hey -- trying to include JSON files in my function path, it bundles them with it (basd on the size) but trying to actually reference them is near impossible. ./myjsonfiles_directory doesn't work, neither does path.resolve nor path.dirname() lmao, what should I be using here?
Python?
JavaScript actually, Node or Bun both
I ended up importing the files directly via import some file from “some file.json” { assert type: string }
ya that's probably the best way to go
otherwise, you can do some path magic stuff like how some of our templates looks up a static folder: https://github.com/appwrite/templates/blob/d8fa2bb59acdd867c7fa633fe95f703531e13d69/node/censor-with-redact/src/utils.js#L23-L25
gotcha thank you!!
how versatile
are the build commands
can I customize the image a lot more (like for instance install Poetry) if I add build commands?
maybe best in a separate thread
Recommended threads
- script "build" was terminated by signal ...
Heyo, For some reason, my Next.js 16.0.10 version does not build properly. Here is the last logs: ``` 1063 packages installed [22.54s] $ next build ⚠ No build...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...