Step 1 of 5
Deploy with Docker
Build and run your bot in a Docker container
Follow these steps to deploy your bot using Docker:
Build and Run Commands
# 1. Build imagedocker build -t my-bot .# 2. Run with env filedocker run -d --env-file .env my-bot# Or with inline environment variablesdocker run -d -e INTERACTKIT_API_KEY=your_key my-bot
Dockerfile Example
FROM node:18-alpineWORKDIR /appCOPY package*.json ./RUN npm installCOPY . .RUN npx interactkit build --region <region>CMD ["npm", "start"]
Pro Tip
Run `npx interactkit list regions` to see available regions.
1 / 5