fix(bots/discord): ci issues causing database to not be auto generated

This commit is contained in:
PalmDevs
2024-07-24 03:57:22 +07:00
parent c503a86c53
commit 673aa189be
3 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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",

BIN
bun.lockb

Binary file not shown.