Remove redundant settings.local.json template

The MCP configuration is already handled by the Dockerfile using
claude mcp add-json command. The template file was unnecessary and
could cause confusion.
This commit is contained in:
Vishal Jain
2025-06-18 11:48:23 +01:00
parent b4ebb459ea
commit 93d58eca27
5 changed files with 24 additions and 41 deletions

View File

@@ -58,14 +58,11 @@ COPY templates/.claude/CLAUDE.md /tmp/CLAUDE.md
COPY .claude.json /tmp/.claude.json
COPY .claude /tmp/.claude
# Move auth files to proper location before switching user
# Move auth files and CLAUDE.md template to proper location before switching user
RUN cp /tmp/.claude.json /home/claude-user/.claude.json && \
cp -r /tmp/.claude/* /home/claude-user/.claude/ && \
rm -rf /tmp/.claude*
# Copy CLAUDE.md template (after auth files to ensure it's not overwritten)
RUN cp /tmp/CLAUDE.md /home/claude-user/.claude/CLAUDE.md && \
rm -f /tmp/CLAUDE.md
cp /tmp/CLAUDE.md /home/claude-user/.claude/CLAUDE.md && \
rm -rf /tmp/.claude* /tmp/CLAUDE.md
# Set proper ownership for everything
RUN chown -R claude-user:claude-user /app /home/claude-user