feat: prepare deployment and latest app updates

This commit is contained in:
eric
2026-03-22 03:18:03 +01:00
parent 74042182ed
commit e0ba54f2c3
8 changed files with 28 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
# Build stage
FROM oven/bun:1 AS builder
FROM oven/bun:1.2.15 AS builder
WORKDIR /app
@@ -11,8 +11,8 @@ RUN apt-get update \
# Copy package files
COPY package.json bun.lockb ./
# Install dependencies
RUN bun install --frozen-lockfile
# Install dependencies. Bun 1.2.x is pinned here for @discordjs/opus ABI compatibility.
RUN bun install
# Copy source code
COPY src ./src
@@ -21,7 +21,7 @@ COPY tsconfig.json drizzle.config.ts ./
RUN bun run css:build
# Production stage
FROM oven/bun:1-slim
FROM oven/bun:1.2.15-slim
WORKDIR /app