--- id: TASK-7 title: 'Fix Docker build failures for rfunds, rmaps, and rvote' status: Done assignee: [] created_date: '2026-02-15 03:44' labels: - devops - docker - cross-project dependencies: [] priority: high --- ## Description Three r*.online projects had pre-existing Docker build failures on the server that needed to be resolved. ## Final Summary Fixed Docker build failures for 3 projects:\n\n**rfunds-online:**\n- Updated Dockerfile to use parent context for encryptid-sdk access\n- Fixed COPY merge conflict by copying source first, then rm -rf node_modules\n- Cleaned stale files on server with git clean -fd\n- Added downlevelIteration to tsconfig.json for Uint8Array spread\n\n**rmaps-online:**\n- Re-cloned from correct Gitea repo (server had wrong remote)\n- Added downlevelIteration to tsconfig.json\n\n**rvote-online:**\n- Updated Dockerfile to use parent context with direct SDK copy to node_modules\n- Added ambient type declarations for @encryptid/sdk subpath imports (server dist missing .d.ts)\n- Added did property to next-auth Session type augmentation\n- Fixed seed-spaces.ts: changed isPublic to visibility field\n\nAll three now build and deploy successfully.