deployment
SKILL.md
Deployment Skill
Overview
Deploy Next.js applications to various platforms with optimal configurations.
Capabilities
- Vercel: Zero-config deployment
- Docker: Containerized deployment
- Self-Hosting: Node.js server
- Static Export: Static site generation
- Edge Runtime: Edge function deployment
Examples
# 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 /app/public ./public
COPY /app/.next/standalone ./
COPY /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
next.config.js Options
module.exports = {
output: 'standalone', // For Docker
// output: 'export', // For static
}
Weekly Installs
5
Repository
pluginagentmark…n-nextjsGitHub Stars
2
First Seen
Jan 26, 2026
Security Audits
Installed on
antigravity4
claude-code4
codex4
cursor4
opencode4
gemini-cli3