Hi again guys, I'm having issues with python function deployment, when referencing local libraries outside the project.
Suppose I have several SST projects, where each project points to a local library. When deploying, requirements.txt is generated and copied into docker, where local library can't be found anymore.
My solution with STS is a bit janky, I wrap the local library with an STS project, that contains just that library and its dependencies, which will be deployed as a layer. Then I wrote a deployment script that exports the requirements.txt, replaces the local path in requirements.txt with regex to the directory in docker where it would be mounted, which is then built, deployed and referenced in other stacks.
What would you guys do ? Hope I'm missing something obvious. Thanks