diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-25 17:25:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-25 17:25:10 +0100 |
| commit | 774d5b4c538d93889bf743b6cd7d01a85f8715e6 (patch) | |
| tree | ece773efb8f625a05b0d8304ce610cf2e51368f0 /next.config.js | |
| parent | 2f1de56509948e4aecac058adeb07c3502bdf818 (diff) | |
feat: use Docker in production (#12)
* build: add experimental feature outputStandalone
With this option, Next.js can create a standalone folder with the
necessary files for a production deployment. It will be useful for
Docker deployment.
* chore: add Docker configuration
* docs: update README with Docker instructions
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js index d85d5ec..077d0a0 100644 --- a/next.config.js +++ b/next.config.js @@ -70,6 +70,7 @@ const securityHeaders = [ /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { + outputStandalone: true, scrollRestoration: true, }, async headers() { |
