docs: add Docker Standalone and Docker Export examples to Deploying page#90386
Conversation
…llowing best practices
- Fix PORT environment variable to be explicitly a string in compose.yml - Remove NextConfig type import from next.config.ts to fix TypeScript error
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
…stiyan-velkov/next.js into examples/add-docker-examples
Co-authored-by: Cursor <[email protected]>
|
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
|
@icyJoseph, I’ve updated the documentation to reflect the changes in the Docker examples you merged PR #87069. I’ll also review everything carefully and adjust whatever is necessary to ensure it fully aligns with the Next.js documentation requirements. |
|
Nice, I'll try to take a look sometime soon! Thanks for the contribution 🎉 |
|
Hi @icyJoseph, I’ll also start working on a separate sample guide for Next.js in the official Docker documentation. Once it’s ready, I’ll make sure it’s properly added here as well. Thanks again for the collaboration and support — really appreciate it. Best regards, |
|
Thanks for this input! |
…age (#90386) ### What? Updates the [Deploying](https://nextjs.org/docs/app/getting-started/deploying) page Docker section to document the new and updated Docker examples and add description to old ones. ### Why? The Docker examples were added/updated in [#87069](#87069). The Deploying page still only listed the generic "Docker" and "Docker Multi-Environment" templates, so the new **Docker Standalone** and **Docker Export** examples were not discoverable from the docs. ### How? - Add **Docker Standalone** template linking to `examples/with-docker` (`output: "standalone"` for minimal container images). - Add **Docker Export** template linking to `examples/with-docker-export-output` (`output: "export"` for static HTML in a container). - Order templates as: Docker Standalone, Docker Export, then Docker Multi-Environment. --- **Related:** This PR follows up on the merged [PR #87069](#87069) (Docker examples for standalone and export output). It updates the docs so the Deploying page links to those examples. --------- Co-authored-by: Wyatt Johnson <[email protected]> Co-authored-by: Joseph <[email protected]> Co-authored-by: kristiyan.velkov <[email protected]> Co-authored-by: Cursor <[email protected]>
## Summary Backports documentation fixes and improvements from canary to the `next-16-1` branch. ### Included commits: - `757ab17e54` In-Depth Explanation of React Version Handling Doc (#89426) - `fe0bb2fc51` Next.js sticky scroll standards (#90197) - `d13d1ba23b` docs: improve form guide consistency and validation examples (#90361) - `c23f3434a3` docs: fixes typo in manifest.mdx regarding Route Handler note (#90394) - `dcf11d111b` docs: clarify that next upgrade is for 16.1.x+ (#90435) - `da0cbcce76` Add not-found.js / notFound() links to Status Codes section (#88332) - `ae79ae55eb` docs: add Docker Standalone and Docker Export examples to Deploying page (#90386) - `bb813afd49` docs(deploying): add Hostinger Web Apps Hosting to Node.js deployment options (#90246) - `15fcfb9ce4` docs: fix navigationType value and variable name in useReportWebVitals (#90599) - `080e1b3` docs: Accept header content negotiation (#90607) --------- Co-authored-by: Abhishek Mardiya <[email protected]> Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by: Jimmy Lai <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: Mary Lavanitha <[email protected]> Co-authored-by: Tyler Arthur <[email protected]> Co-authored-by: Karl Horky <[email protected]> Co-authored-by: Kristiyan Velkov <[email protected]> Co-authored-by: Wyatt Johnson <[email protected]> Co-authored-by: kristiyan.velkov <[email protected]> Co-authored-by: agneliutkiene <[email protected]> Co-authored-by: Mimori <[email protected]> Co-authored-by: Joseph <[email protected]>
What?
Updates the Deploying page Docker section to document the new and updated Docker examples and add description to old ones.
Why?
The Docker examples were added/updated in #87069. The Deploying page still only listed the generic "Docker" and "Docker Multi-Environment" templates, so the new Docker Standalone and Docker Export examples were not discoverable from the docs.
How?
examples/with-docker(output: "standalone"for minimal container images).examples/with-docker-export-output(output: "export"for static HTML in a container).Related: This PR follows up on the merged PR #87069 (Docker examples for standalone and export output). It updates the docs so the Deploying page links to those examples.