Merge branch 'master' into improvements/subscription-v1
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# CI can pass a Gitea-hosted mirror when Docker Hub TLS fails (see ci-resolve-node-image.ps1).
|
||||
ARG NODE_IMAGE=node:20-alpine
|
||||
|
||||
# Build stage — produces `.next/standalone` (see next.config.ts output: standalone)
|
||||
FROM node:20-alpine AS builder
|
||||
FROM ${NODE_IMAGE} AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -32,7 +35,7 @@ ENV NEXT_PUBLIC_SENTRY_ENVIRONMENT=${NEXT_PUBLIC_SENTRY_ENVIRONMENT}
|
||||
RUN npm run build
|
||||
|
||||
# Production — minimal runtime using Next.js standalone bundle
|
||||
FROM node:20-alpine AS runner
|
||||
FROM ${NODE_IMAGE} AS runner
|
||||
|
||||
RUN apk add --no-cache dumb-init
|
||||
|
||||
|
||||
Reference in New Issue
Block a user