fix: align startup copy with 2026 founding and deploy hybrid rendering

- Replace fabricated 12-year/500+/8+ team experience claims with
  2026 founding, first-client co-creation, professional team wording
- Remove fake case studies and unverified certifications from seeds,
  cases page, products and ERP upgrade page
- Enable Next.js standalone output and production hybrid deployment
  (Dockerfile.prod, docker-compose.server.yml, Nginx nextjs upstream)
- Add linux-musl Prisma engine target and production crypto key build
- Sync production CMS database with cleaned seed content
This commit was merged in pull request #21.
This commit is contained in:
2026-08-17 20:21:39 +08:00
parent 700ce12602
commit 628a0f1a2b
37 changed files with 252 additions and 978 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
RUN addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs
# Next.js 16 standalone 输出:server.js 位于 dist/standalone 根目录
COPY dist/standalone ./
# 客户端静态资源(/_next/static)
COPY dist/static ./dist/static
# 公共静态资源(图片、字体、favicon、uploads 等)
COPY public ./public
RUN chown -R nextjs:nodejs /app
USER nextjs
EXPOSE 3000
CMD ["node", "server.js"]