claude is now aware that its in a container

This commit is contained in:
2026-09-21 08:12:18 +05:00
parent 956cbc708a
commit a7a77f7b17
4 changed files with 90 additions and 2 deletions
+5 -1
View File
@@ -14,5 +14,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN npm install -g @anthropic-ai/claude-code && npm cache clean --force
ENTRYPOINT ["claude"]
COPY sandbox-prompt.md /etc/ccc/sandbox-prompt.md
COPY entrypoint.sh /usr/local/bin/ccc-entrypoint
RUN chmod +x /usr/local/bin/ccc-entrypoint
ENTRYPOINT ["/usr/local/bin/ccc-entrypoint"]
CMD []