ci(bots/discord): patch drizzle-kit to stop using node, decreases image size

This commit is contained in:
PalmDevs
2024-07-26 00:01:40 +07:00
parent 042b155b5e
commit 3559ed1cb5
4 changed files with 26 additions and 7 deletions

View File

@@ -1,10 +1,5 @@
# This file should be triggered from the monorepo root
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 oven/bun:latest AS base
FROM base AS build