fix(ci): dont use bun rust slop rewrite
Build and Push Image / build-backend (push) Successful in 1m50s
Build and Push Image / build-frontend (push) Successful in 3m49s
Build and Push Image / push (push) Successful in 3m19s

This commit is contained in:
2026-07-12 22:57:08 +07:00 Unverified
parent 3e935077fe
commit ab9f6c11af
4 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.4
### Stage 1: deps ###
FROM oven/bun:canary-alpine AS deps
FROM oven/bun:1.3.14-alpine AS deps
WORKDIR /home/container
COPY package*.json bun.lock ./
@@ -11,7 +11,7 @@ COPY patches ./patches
RUN --mount=type=cache,target=/root/.bun bun install --frozen-lockfile
### Stage 2: builder ###
FROM oven/bun:canary-alpine AS builder
FROM oven/bun:1.3.14-alpine AS builder
# Isolation
RUN adduser -Du 1001 container
@@ -40,7 +40,7 @@ RUN --mount=type=cache,target=/home/container/.next/cache,uid=1001,gid=1001 \
RUN mkdir -p .next/cache
### Stage 3: migration ###
FROM oven/bun:canary-alpine AS migration
FROM oven/bun:1.3.14-alpine AS migration
WORKDIR /home/container
COPY --from=deps /home/container/node_modules ./node_modules
@@ -55,7 +55,7 @@ COPY lib/db/ ./lib/db/
CMD ["bun", "drizzle-kit"]
### Stage 4: runner ###
FROM oven/bun:canary-alpine AS runner
FROM oven/bun:1.3.14-alpine AS runner
# Isolation
RUN adduser -Du 1001 container
+1 -1
View File
@@ -270,7 +270,7 @@ graph TB
## Architecture
- **Framework:** Next.js 16 (App Router), Turbopack, React 19 — hybrid SSR/RSC/CSR
- **Runtime:** Bun (canary-alpine) — development, production, and backend
- **Runtime:** Bun (1.3.14-alpine) — development, production, and backend
- **Language:** TypeScript (strict, bundler module resolution)
- **UI:** shadcn/ui (Radix primitives), Tailwind CSS 4, motion, lucide-react, @tanstack/react-table, recharts
- **Forms:** react-hook-form, zod validation
+3 -3
View File
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.4
### Stage 1: deps ###
FROM oven/bun:canary-alpine AS deps
FROM oven/bun:1.3.14-alpine AS deps
WORKDIR /home/container
COPY package*.json bun.lock ./
@@ -11,7 +11,7 @@ COPY patches ./patches
RUN --mount=type=cache,target=/root/.bun bun install --frozen-lockfile
### Stage 2: builder ###
FROM oven/bun:canary-alpine AS builder
FROM oven/bun:1.3.14-alpine AS builder
# Isolation
RUN adduser -Du 1001 container
@@ -29,7 +29,7 @@ COPY --chown=1001 . .
RUN bun build --target bun --production --bytecode backend --outdir=dist
### Stage 3: runner ###
FROM oven/bun:canary-alpine AS runner
FROM oven/bun:1.3.14-alpine AS runner
# Isolation
RUN adduser -Du 1001 container
+2 -2
View File
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.4
### Stage 1: deps ###
FROM oven/bun:canary-alpine AS deps
FROM oven/bun:1.3.14-alpine AS deps
WORKDIR /home/container
COPY package*.json bun.lock ./
@@ -11,7 +11,7 @@ COPY patches ./patches
RUN --mount=type=cache,target=/root/.bun bun install --frozen-lockfile
### Stage 2: builder ###
FROM oven/bun:canary-alpine AS builder
FROM oven/bun:1.3.14-alpine AS builder
# Isolation
RUN adduser -Du 1001 container