Vai al contenuto principale
ProdottiStrumenti desktopTASTECADVisualizzazione disegniTASTEFILESGestione fileTASTEFTPTrasferimento fileTASTESSHSpazio di lavoro remotoTASTEZIPCompressione ed estrazioneTASTEWINMGestione fileStrumenti per sviluppatoriTASTECODEAmbiente di sviluppo integrato per RustTASTESTUDIOAmbiente integrato di sviluppo e testTASTEETLIntegrazione dati (ETL)ServerTASTEREMOTEServer di desktop remotoTASTEGEOServer geospazialeTASTEMAILSpazio di lavoro emailInvestimentiTASTESTOCKApp desktop di trading automatico azionarioIniziaDownloadDocumentazioneAcquistaTutti i prodotti
Marketplace
Notizie
TecnologiaNotizieNotizie di sviluppo di oggiDocumentazioneLinguaggi di programmazioneRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFramework frontend webNext.jsReactVue.js · NuxtSvelteKitAngularFramework serverSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFramework per app e desktopTauriFlutterReact NativeElectronAlgoritmiBasi degli algoritmiAlgoritmi fondamentaliAlgoritmi avanzatiAlgoritmi pratici
CommunityProgettiLog di sviluppoPromptProblemi degli strumenti di IAVetrinaGuida alla community
CollaboraTrasferimento tecnicoRealizzazione del sito webRealizzazione di app desktopPipeline di rilascio e pagamentoPartner commercialeContatti
ServiziDesktop remotoPacchetti di installazione su misura
TASTEDEV
Prodotti

Strumenti desktop

TASTECADApri con leggerezza anche i disegni più complessiTASTEFILESSolo i file che servono, alla massima velocitàTASTEFTPLa via più ordinata per i tuoi fileTASTESSHUn legame più solido tra te e i tuoi serverTASTEZIPComprimi più veloce, estrai più sicuroTASTEWINMUn file manager a due pannelli pensato per la tastiera

Strumenti per sviluppatori

TASTECODEModifica, compila, esegui il debug e testa app Rust in un'unica finestraTASTESTUDIODalla modifica ai test remoti e alle correzioni IA approvateTASTEETLSposta i dati guardando i valori

Server

TASTEREMOTEUn desktop remoto che gira sul tuo serverTASTEGEOUn server geospaziale compatibile con GeoServer, ricostruito in RustTASTEMAILRiprendi il controllo della tua posta

Investimenti

TASTESTOCKTrading automatico azionario secondo le regole che decidi tu: quando e che cosa

Inizia

DownloadUltime versioni di ogni prodottoDocsCome usare ogni prodottoAcquistaAbbonamenti e licenze perpetueTutti i prodottiTutti i prodotti a colpo d’occhio
Tutti i prodotti
MarketplaceNotizie
Tecnologia

Notizie

Notizie di sviluppo di oggiAnnunci ufficiali su linguaggi, framework, GitHub e IADocumentazioneGuide a linguaggi, framework e algoritmi

Linguaggi di programmazione

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Framework

Framework frontend webNext.jsReactVue.js · NuxtSvelteKitAngular
Framework serverSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Framework per app e desktopTauriFlutterReact NativeElectron

Algoritmi

Basi degli algoritmiAnalisi della complessità · Ordinamento · Ricerca · Strutture dati di base · Alberi e heapAlgoritmi fondamentaliVisita dei grafi · Cammini minimi e alberi ricoprenti · Programmazione dinamica · Algoritmi greedy · Divide et impera · BacktrackingAlgoritmi avanzatiAlgoritmi sulle stringhe · Matematica e teoria dei numeri · Manipolazione dei bit · Alberi di segmenti · Union-FindAlgoritmi praticiStrategia per colloqui di programmazione · Cache LRU · Rate limiting · Hashing consistente
Tutta la documentazione di sviluppo
Community
ProgettiScopri sviluppatori e lavoriLog di sviluppoDecisioni e lezioni appresePromptIstruzioni riutilizzabiliProblemi degli strumenti di IAProblemi e alternative di Claude, Codex, GeminiVetrinaRisultati completatiGuida alla communityCome sviluppiamo in modo aperto
Collabora
Trasferimento tecnicoApp native in Rust ed eguiRealizzazione del sito web10 lingue, account, documentazione e downloadRealizzazione di app desktopRust ed egui, senza WebViewPipeline di rilascio e pagamentoFirma, MSI, deb, rpm, AppImage, hashPartner commercialeConsigliaci e ricevi il 30%ContattiSviluppo, partnership e investimenti
Servizi
Desktop remotoRaggiungi il tuo computer dal browserPacchetti di installazione su misuraSolo il necessario, impostazioni precaricate
Acquista
IT
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Accedi
Accedi
TASTEDEV

Dai piccoli strumenti a uno sviluppo migliore.

support@tastedev.netSostieni TASTEDEV
ProdottiGamma di prodottiAcquistaDocsDownloadMarketplaceAssistenza
CommunityProgettiLog di sviluppoPromptProblemi degli strumenti di IAVetrina
NormeChi siamoInformativa sulla privacyTermini di servizioCondizioni di abbonamentoRimborsiLinee guida della community
AccountAccediRegistrati
Visitatori
Oggi
Ieri
Visualizzazioni totali
Società
GXSOFT
Rappresentante
CHOI YOUNG GU
Numero di registrazione
853-44-00368
Indirizzo
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Telefono
+82-10-4404-1523
E-mail
whitecalvin@tastedev.net
Responsabile privacy
CHOI YOUNG GU

© 2026 TASTEDEVLe informazioni sui prodotti si basano su fonti di sviluppo verificate.Rilasciato · in miglioramento

Documentazione di Next.js
Next.js
Getting Started with Next.jsProject StructureCore ConceptsData and StateTestingDeployment
Discussioni

Guida a Next.js · 6/6

Deployment

Per ora questo capitolo è disponibile solo in inglese.

You can run a Next.js application as a Node.js server, package it in a Docker container, export it as static files, or deploy it through a platform's own integration. The option you pick determines which features are available, so it pays to understand what a production build produces first.

Building and running for production

next build optimizes your code, writes the production output to the .next folder and prerenders every page that can be rendered statically. When it finishes, it prints each route with a symbol showing whether it was prerendered or will be rendered on the server per request. Check that list for pages that turned dynamic unexpectedly.

npm run build      # next build
npm run start      # next start, port 3000 by default

# run on another port
npx next start -p 8080

The Node.js server started by next start supports every feature: Server Components, Server Actions, Route Handlers, image optimization, revalidation and more. On a single machine, a common setup runs it under a process manager such as pm2 or systemd behind a reverse proxy like Nginx that handles HTTPS and compression.

Standalone output

To avoid shipping all of node_modules to the server, set output: "standalone". The build traces the files the app actually needs, copies them into .next/standalone, and generates a small server.js you can run instead of next start.

// next.config.ts
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "standalone",
};

export default nextConfig;

This server does not copy the public and .next/static folders automatically. Unless a CDN serves them, copy them yourself before starting. The PORT and HOSTNAME environment variables control where it listens.

cp -r public .next/standalone/
cp -r .next/static .next/standalone/.next/
PORT=8080 HOSTNAME=0.0.0.0 node .next/standalone/server.js

Deploying with Docker

Standalone output is especially handy for small Docker images. A multi-stage build separates installing dependencies, building and running, so the final image contains only what is needed at runtime.

FROM node:lts-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci

FROM node:lts-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm run build

FROM node:lts-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=3000
ENV HOSTNAME=0.0.0.0
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"]
Domande su questo capitolo?
Capitolo precedenteTesting

When you run several containers, you may need to share cached and revalidated data between instances. See the cache handler section of the official self-hosting guide.

Static exports

To serve the site as plain HTML, CSS and JavaScript with no server, set output: "export". next build then writes static files to the out folder, ready for Nginx, Apache, object storage or GitHub Pages.

// next.config.ts
const nextConfig = {
  output: "export",
  trailingSlash: true,
};

export default nextConfig;

Features that need a server at request time are not available: dynamic rendering that reads cookies, Server Actions, Route Handlers that compute a response per request, revalidation and the default image optimization are all limited. If you need them, choose a Node.js server or a platform deployment instead.

Deploying to platforms

Vercel, the company behind Next.js, deploys a connected Git repository with no extra configuration. Other platforms support Next.js through deployment adapters or their own integrations. Feature coverage varies by provider, so read each provider's Next.js documentation.

Environment variables and a checklist

  • Variables prefixed with NEXT_PUBLIC_ are inlined into browser code at build time. Changing them requires a rebuild.
  • Server-only variables are read at runtime, so inject them through the server or container environment.
  • Before going live, review the static and dynamic markers in the next build output, image optimization, metadata and error pages (error.tsx, not-found.tsx).
  • Walk through the official Production Checklist for performance, security and accessibility.

Summary

  • next build followed by next start gives you every Next.js feature.
  • output: "standalone" collects only the required files and keeps Docker images small.
  • output: "export" enables static hosting but drops server features.
  • Check feature coverage when deploying to a platform, and remember that NEXT_PUBLIC_ values are fixed at build time.

Official documentation

  • Next.js Docs
  • Deploying
  • Self-Hosting
  • Static Exports
  • Production Checklist
  • next.config.js output

0 commenti

Commenti principaliPrima i più recenti

Accedi · Accedi per lasciare un commento.