feat: prepare deployment and latest app updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user