Commit Graph

4 Commits

Author SHA1 Message Date
shaw
aa5846b282 fix(docker): resolve /app/data permission denied on volume mounts
Docker named volumes and host bind-mounts may be owned by root,
causing "open data/model_pricing.sha256: permission denied" when
the container runs as the non-root sub2api user.

Add an entrypoint script that fixes /app/data ownership before
dropping to sub2api via su-exec. Replace USER directive with the
entrypoint approach across all three Dockerfiles and update both
GoReleaser configs to include the script in Docker build contexts.
2026-03-16 19:52:14 +08:00
song
e91fba82a8 fix(ci): simple release 也构建前端 2026-01-04 15:59:21 +08:00
song
84d6480b4e fix(ci): simple release 不嵌入前端 2026-01-04 15:59:21 +08:00
song
c0e296f4a9 feat(ci): 增加 SIMPLE_RELEASE 参数支持简化发布 2026-01-04 15:59:21 +08:00