fix: use v1.8.20 base images and no-frozen-lockfile in Dockerfile
Some checks failed
Build & Deploy / 🔍 Prepare (push) Failing after 6s
Build & Deploy / 🧪 QA (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-02-26 23:59:56 +01:00
parent 3049c1b6e7
commit 4280f11772

View File

@@ -1,5 +1,5 @@
# Stage 1: Builder
FROM registry.infra.mintel.me/mintel/nextjs:v1.8.21 AS base
FROM registry.infra.mintel.me/mintel/nextjs:v1.8.20 AS base
WORKDIR /app
# Arguments for build-time configuration
@@ -27,7 +27,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN) && \
echo "@mintel:registry=https://npm.infra.mintel.me" > .npmrc && \
echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> .npmrc && \
pnpm install --frozen-lockfile && \
pnpm install --no-frozen-lockfile && \
rm .npmrc
# Copy source code
@@ -51,7 +51,7 @@ ENV UV_THREADPOOL_SIZE=3
RUN pnpm build
# Stage 2: Runner
FROM registry.infra.mintel.me/mintel/runtime:v1.8.21 AS runner
FROM registry.infra.mintel.me/mintel/runtime:v1.8.20 AS runner
WORKDIR /app
# Create nextjs user and group (standardized in runtime image but ensuring local ownership)