fix: resolve Next.js docker build endpoints and handle async map icons

Former-commit-id: 6241ea44db
This commit is contained in:
anoracleofra-code
2026-03-09 00:41:02 -06:00
parent 197d37ae5a
commit 19a0ef1c70
5 changed files with 59 additions and 5 deletions
+4
View File
@@ -11,6 +11,10 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NEXT_TELEMETRY_DISABLED 1
# NEXT_PUBLIC_* vars must exist at build time for Next.js to inline them.
# Default empty = auto-detect from browser hostname at runtime.
ARG NEXT_PUBLIC_API_URL=""
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
RUN npm run build
FROM base AS runner