# Use a lightweight Node.js image FROM node:22-bookworm # Install OpenClaw RUN npm install -g openclaw@latest --yes # Create the startup script using Groq (Free & Fast) RUN echo '#!/bin/bash\n\ export OPENCLAW_MODEL=groq/llama-3.3-70b-versatile\n\ openclaw gateway --allow-unconfigured\n\ ' > /start.sh && chmod +x /start.sh # Run the script CMD ["sh", "/start.sh"]