Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 438 Bytes

run-production-build.md

File metadata and controls

26 lines (19 loc) · 438 Bytes

Run production build

⚠️ You must have an .env.production.local in order to build a production build.

First generate the dependency injection files:

just ioc-generate

Next run a production build:

just build

Finally execute Next.js server:

  • Default Next.js build
    just start
  • Standalone build (output: standalone)
    node .next/standalone/server.js