Reference
1 min read
Build image
Learn about the container image used for Vercel builds.Table of Contents
When you initiate a deployment, Vercel will build your project within a container that has a predefined image. This build image is determined by the Node.js version selected in the project settings.
Node.js version | Build image | Base image |
---|---|---|
20.x | Build image | Amazon Linux 2023 |
18.x 16.x | Build image (legacy) | Amazon Linux 2 |
Vercel supports multiple runtimes, but not all of them are currently supported in both versions of the build image. See the table below to learn about which runtime version is supported by each image:
Runtime | Build image | Build image (legacy) |
---|---|---|
Node.js | 20.x | 18.x 16.x |
Edge | ||
Python | 3.9 | |
Ruby | 3.2.x | |
Go | ||
Community Runtimes |
We recommend you set the Node.js version in your project settings to 18.x
when using one of the following runtimes:
- Python
- Ruby
- Go (if using Hugo, specifically)
Last updated on April 27, 2024
Was this helpful?