feat(releases): tag releases to main with version numbers, speed up docker builds (#2337)

* feat(releases): tag releases to main with version numbers, speed up docker builds

* resize runners
This commit is contained in:
Waleed
2025-12-12 15:57:10 -08:00
committed by GitHub
parent ffcaa65590
commit 323e03520d
5 changed files with 133 additions and 25 deletions

View File

@@ -10,16 +10,14 @@ FROM base AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app
# Install turbo globally (cached separately, changes infrequently)
RUN bun install -g turbo
COPY package.json bun.lock turbo.json ./
RUN mkdir -p apps packages/db
COPY apps/sim/package.json ./apps/sim/package.json
COPY packages/db/package.json ./packages/db/package.json
# Install dependencies (this layer will be cached if package files don't change)
RUN bun install --omit dev --ignore-scripts
# Install dependencies with cache mount for faster builds
RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
bun install --frozen-lockfile --omit dev --ignore-scripts
# ========================================
# Builder Stage: Prepare source code