fix: deploy
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 8s
Build & Deploy / 🏗️ Build (push) Failing after 53s
Build & Deploy / 🧪 QA (push) Successful in 5m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / ⚡ PageSpeed (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-08 15:09:09 +01:00
parent acbd1211fb
commit 974bcd5727
2 changed files with 6 additions and 4 deletions

View File

@@ -8,13 +8,12 @@ ARG NEXT_PUBLIC_BASE_URL
ARG UMAMI_API_ENDPOINT
ARG NEXT_PUBLIC_TARGET
ARG DIRECTUS_URL
ARG NPM_TOKEN
ENV NEXT_PUBLIC_BASE_URL=$NEXT_PUBLIC_BASE_URL
ENV UMAMI_API_ENDPOINT=$UMAMI_API_ENDPOINT
ENV NEXT_PUBLIC_TARGET=$NEXT_PUBLIC_TARGET
ENV DIRECTUS_URL=$DIRECTUS_URL
ENV NPM_TOKEN=$NPM_TOKEN
ENV CI=true
ENV SENTRY_SUPPRESS_TURBOPACK_WARNING=1
# Enable pnpm
@@ -38,8 +37,9 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
# Copy source
COPY . .
# Build the app
RUN pnpm --filter @mintel/web build
# Build the app with cache mount
RUN --mount=type=cache,target=/app/apps/web/.next/cache \
pnpm --filter @mintel/web build
# Production image
FROM registry.infra.mintel.me/mintel/runtime:latest AS runner