Check privatedata in swop.yaml, is the data dir mounted to the container through this file?
Option: copy data dir to volume, then copy to user image when building(bad choice)
only need to direct to the path in user_env_build.yaml
scratchDir = os.getenv('SCRATCH_DIR', '/platform/scratch') # ! dataDir = os.getenv('DATA_DIR', '/platform/data')
Check privatedata in swop.yaml, is the data dir mounted to the container through this file? Option: copy data dir to volume, then copy to user image when building(bad choice)