fix: always deploy config from repo on startup

This commit is contained in:
Simon KP 2026-01-26 20:16:43 +11:00
parent 6b01165a93
commit 0a5b106089

View File

@ -55,11 +55,9 @@ RUN rm -rf node_modules && npm install --omit=dev
# Create entrypoint script # Create entrypoint script
RUN echo '#!/bin/sh\n\ RUN echo '#!/bin/sh\n\
if [ ! -f "/root/.clawdbot/clawdbot.json" ]; then\n\ echo "Deploying config from repo..."\n\
echo "Creating default config..."\n\ mkdir -p /root/.clawdbot\n\
mkdir -p /root/.clawdbot\n\ cp /app/clawdbot.default.json /root/.clawdbot/clawdbot.json\n\
cp /app/clawdbot.default.json /root/.clawdbot/clawdbot.json\n\
fi\n\
echo "Installing checkins plugin..."\n\ echo "Installing checkins plugin..."\n\
mkdir -p /root/.clawdbot/extensions\n\ mkdir -p /root/.clawdbot/extensions\n\
cp -r /app/bundled-plugins/checkins /root/.clawdbot/extensions/\n\ cp -r /app/bundled-plugins/checkins /root/.clawdbot/extensions/\n\