Compare commits
2 Commits
v1.2.11-rc
...
v1.2.11
| Author | SHA1 | Date | |
|---|---|---|---|
| b10dbcb23f | |||
| 65bb9c620a |
@@ -57,7 +57,7 @@ jobs:
|
||||
|
||||
- name: 🧪 QA Checks
|
||||
env:
|
||||
TURBO_TELEMETRY_DISABLED: 1
|
||||
TURBO_TELEMETRY_DISABLED: "1"
|
||||
run: npx turbo run check:mdx lint typecheck test --cache-dir=".turbo"
|
||||
|
||||
- name: 🏗️ Build
|
||||
|
||||
@@ -185,7 +185,7 @@ jobs:
|
||||
- name: 🧪 QA Checks
|
||||
if: github.event.inputs.skip_checks != 'true'
|
||||
env:
|
||||
TURBO_TELEMETRY_DISABLED: 1
|
||||
TURBO_TELEMETRY_DISABLED: "1"
|
||||
run: npx turbo run lint check:spell typecheck test --cache-dir=".turbo"
|
||||
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -42,7 +42,9 @@ CMD ["pnpm", "dev:local"]
|
||||
# Stage 3: Builder (Production)
|
||||
FROM base AS builder
|
||||
RUN --mount=type=cache,target=/app/.next/cache,id=nextjs-cache \
|
||||
pnpm build
|
||||
pnpm build && \
|
||||
mkdir -p /app/.next-cache-tmp && \
|
||||
cp -r /app/.next/cache/* /app/.next-cache-tmp/ || true
|
||||
|
||||
# Stage 3: Runner
|
||||
FROM registry.infra.mintel.me/mintel/runtime:v1.7.10 AS runner
|
||||
@@ -61,6 +63,6 @@ ENV NODE_ENV=production
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/cache ./.next/cache
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next-cache-tmp ./.next/cache
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user