fix: Dockerfile ADMIN_TOKEN dummy value too short for zod validation

This commit is contained in:
erio
2026-03-14 00:47:21 +08:00
parent 6c61c3f877
commit 405fab8c8d

View File

@@ -15,7 +15,7 @@ RUN pnpm prisma generate
RUN DATABASE_URL="postgresql://x:x@localhost/x" \ RUN DATABASE_URL="postgresql://x:x@localhost/x" \
SUB2API_BASE_URL="https://localhost" \ SUB2API_BASE_URL="https://localhost" \
SUB2API_ADMIN_API_KEY="build-dummy" \ SUB2API_ADMIN_API_KEY="build-dummy" \
ADMIN_TOKEN="build-dummy" \ ADMIN_TOKEN="build-dummy-placeholder-key" \
NEXT_PUBLIC_APP_URL="https://localhost" \ NEXT_PUBLIC_APP_URL="https://localhost" \
pnpm build pnpm build