Skip to content

Commit

Permalink
Link to with-docker-multi-env example. (#35820)
Browse files Browse the repository at this point in the history
Based on feedback from Twitter to surface this more. A small improvement before improving the deployment docs further 😄
  • Loading branch information
leerob committed Apr 1, 2022
1 parent 8b9ae83 commit bcd2aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/deployment.md
Expand Up @@ -84,6 +84,8 @@ Next.js can be deployed to any hosting provider that supports [Docker](https://w
1. Build your container: `docker build -t nextjs-docker .`
1. Run your container: `docker run -p 3000:3000 nextjs-docker`

If you need to use different Environment Variables across multiple environments, check out our [with-docker-multi-env](https://github.com/vercel/next.js/tree/canary/examples/with-docker-multi-env) example.

### Static HTML Export

If you’d like to do a static HTML export of your Next.js app, follow the directions on our [Static HTML Export documentation](/docs/advanced-features/static-html-export.md).
Expand Down

0 comments on commit bcd2aa5

Please sign in to comment.