Bill
11509ba8c7
fix: merge script now writes to current directory for volume compatibility
...
Changed merge_jsonl.py to use os.getcwd() instead of os.path.dirname(__file__)
to ensure merged.jsonl is written to the working directory where data files exist,
not to the script's installation directory.
Root cause:
- Dockerfile copies scripts to /app/scripts/ for volume compatibility
- entrypoint.sh runs: cd /app/data && python /app/scripts/merge_jsonl.py
- Old logic used script directory (/app/scripts/), ignoring working directory
- This caused merged.jsonl to be created in /app/scripts/ instead of /app/data/
- Since /app/data/ is volume-mounted, merged file was not visible to host
Solution:
- Scripts now respect current working directory (Unix philosophy)
- Works correctly with volume mounts and script relocation
- Tested in both local and Docker directory structure scenarios
Fixes the issue where merged.jsonl was missing from mounted data volume.
2025-10-31 00:03:39 -04:00
..
2025-10-30 10:46:07 +08:00
2025-10-24 00:35:21 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-24 00:35:21 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 10:46:07 +08:00
2025-10-30 23:48:12 -04:00
2025-10-28 11:32:54 +08:00
2025-10-31 00:03:39 -04:00
2025-10-30 10:46:07 +08:00
2025-10-24 00:35:21 +08:00