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 image
docker build -t my-bot .
# 2. Run with env file
docker run -d --env-file .env my-bot
# Or with inline environment variables
docker run -d -e INTERACTKIT_API_KEY=your_key my-bot

Dockerfile Example

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npx interactkit build --region <region>
CMD ["npm", "start"]
1 / 5