"backend/cmd/vscode:/vscode.git/clone" did not exist on "e2ae9fe50bce3ae1761cbef19d55ea900d27ed31"
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.
deploy/docker-entrypoint.sh
0 → 100644
Please register or sign in to comment