{ "name": "agent-kitten-v2", "type": "module", "scripts": { "start": "node dist/index.js", "build": "tsc" }, "devDependencies": { "@eslint/js": "^9.11.1", "@types/jsdom": "^21.1.7", "eslint": "^9.11.1", "globals": "^15.10.0", "ts-node": "^10.9.2", "typescript": "^5.6.2", "typescript-eslint": "^8.8.0", "@discordjs/builders": "^1.9.0" }, "peerDependencies": { "typescript": "^5.5.4" }, "dependencies": { "@discordjs/voice": "^0.17.0", "discord-cross-hosting": "^2.3.8", "discord-hybrid-sharding": "^2.2.0", "discord.js": "^14.16.3", "dotenv": "^16.4.5", "jsdom": "^25.0.1", "mongodb": "^6.9.0", "moonlink.js": "^4.0.2", "net-ipc": "2.2.0", "node-html-parser": "^6.1.13", "ollama": "^0.5.9", "puppeteer": "^23.5.0", "redis": "^4.7.0" }}
# Use the latest Deno imageFROM denoland/deno:debian# Set the working directory inside the Docker containerWORKDIR /app# Update package lists and install necessary packages for PuppeteerRUN apt-get update && apt-get install -y \ ca-certificates \ fonts-liberation \ libasound2 \ libatk-bridge2.0-0 \ libatk1.0-0 \ libc6 \ libcairo2 \ libcups2 \ libdbus-1-3 \ libexpat1 \ libfontconfig1 \ libgbm1 \ libgcc1 \ libglib2.0-0 \ libgtk-3-0 \ libnspr4 \ libnss3 \ libpango-1.0-0 \ libpangocairo-1.0-0 \ libstdc++6 \ libx11-6 \ libx11-xcb1 \ libxcb1 \ libxcomposite1 \ libxcursor1 \ libxdamage1 \ libxext6 \ libxfixes3 \ libxi6 \ libxrandr2 \ libxrender1 \ libxss1 \ libxtst6 \ lsb-release \ wget \ xdg-utils# Copy package.json and package-lock.json (if it exists) to Docker imageCOPY package*.json ./# Install Deno dependenciesRUN deno install --allow-scripts=npm:puppeteer# Copy all other files from the current directory to /app in the containerCOPY . .# Expose port for BridgeEXPOSE 5000# Command to run the applicationCMD ["deno", "run", "--allow-all", "src/index.ts"]