在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用deployment
Next.js deployment - Vercel, Docker, self-hosting strategies
星标2
分支0
更新时间2025年12月31日 10:40
文件资源管理器
7 个文件SKILL.md
readonly菜单
Next.js deployment - Vercel, Docker, self-hosting strategies
Next.js API Routes - Route handlers, middleware, edge runtime
Next.js App Router - Server components, layouts, routing patterns
Next.js data fetching - Server actions, caching, revalidation
Master system design, architecture patterns, algorithms, data structures, and computer science fundamentals for building scalable systems.
Master Node.js, Express, PHP, Laravel, Java, Spring Boot, API design, and database integration. Build scalable APIs and server applications.
Master machine learning, data engineering, AI engineering, LLMs, prompt engineering, and MLOps. Build intelligent systems with Python.
| name | deployment |
| description | Next.js deployment - Vercel, Docker, self-hosting strategies |
| sasmp_version | 1.3.0 |
| bonded_agent | nextjs-expert |
| bond_type | PRIMARY_BOND |
Deploy Next.js applications to various platforms with optimal configurations.
# Dockerfile for Next.js
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:18-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000
CMD ["node", "server.js"]
# Vercel deployment
npm i -g vercel
vercel --prod
# Docker deployment
docker build -t nextjs-app .
docker run -p 3000:3000 nextjs-app
module.exports = {
output: 'standalone', // For Docker
// output: 'export', // For static
}