skills/deployment/SKILL.md
Next.js deployment - Vercel, Docker, self-hosting strategies
npx skillsauth add pluginagentmarketplace/custom-plugin-nextjs deploymentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
}
data-ai
Next.js data fetching - Server actions, caching, revalidation
tools
Next.js App Router - Server components, layouts, routing patterns
development
Next.js API Routes - Route handlers, middleware, edge runtime
development
Master modern web development. Learn HTML/CSS/JavaScript fundamentals, React/Vue/Angular frameworks, Node.js backend, databases, APIs, and full-stack architectures. Use when building web applications, learning web technologies, or choosing tech stacks.