How to include an sqlite database in a snap

Hey guys I’m new to building snaps and containers in general and, I am writing an app that needs to look up information in a sqlite database however I am unsure on how to include the database in the snap. I’ve tried using the layout feature in the snap.yaml to create a symlink to the database but I am not sure if this is the correct approach

I am also currently dynamically setting the path in the main program but when I print the path to the log I don’t see the snap_data directory being used any thoughts are appreciated.

Check if the environment variables for


are what you need