Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding step to build the app with docker in existing projects #34083

Merged
merged 5 commits into from Feb 11, 2022

Conversation

sespinosa
Copy link
Contributor

Added this paragraph to examples/with-docker/README.md:

In existing projects

To add support for docker to an existing project, just copy the Dockerfile into the root of the project and add the following to the next.config.js file:

// next.config.js
module.exports = {
  // ... rest of the configuration.
  experimental: {
    outputStandalone: true,
  }
}

This will build the project as a standalone app inside the Docker image.

…ut the need to create the app with the with-docker example)
@ijjk ijjk added the examples Issue/PR related to examples label Feb 8, 2022
@ijjk ijjk merged commit c1fd2ca into vercel:canary Feb 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants