diff --git a/bots/discord/Dockerfile b/bots/discord/Dockerfile index 50ec086..17eeeec 100644 --- a/bots/discord/Dockerfile +++ b/bots/discord/Dockerfile @@ -1,5 +1,10 @@ # This file should be triggered from the monorepo root -FROM oven/bun:latest AS base +FROM node:latest AS base + +# Install Bun +RUN apt-get update && apt-get install -y curl unzip +RUN curl -fsSL https://bun.sh/install.sh | bash +ENV PATH="/root/.bun/bin:$PATH" FROM base AS build diff --git a/bots/discord/package.json b/bots/discord/package.json index 347f5d6..fd88b94 100644 --- a/bots/discord/package.json +++ b/bots/discord/package.json @@ -11,7 +11,7 @@ "dev": "bun prepare && bun --watch src/index.ts", "build": "bun prepare && bun run scripts/build.ts", "watch": "bun dev", - "prepare": "bun run scripts/generate-indexes.ts && drizzle-kit generate --name=schema" + "prepare": "bun run scripts/generate-indexes.ts && bunx drizzle-kit generate --name=schema" }, "repository": { "type": "git", diff --git a/bun.lockb b/bun.lockb index 2b7f937..612e90a 100755 Binary files a/bun.lockb and b/bun.lockb differ