Yesterday's Top Poster

Bring your Dockerfile to Vercel Functions

  • Thread starter Thread starter Gal Schlezinger, Jeff See, Tom Lienard, Ali
  • Start date Start date
Vercel Functions now support deploying HTTP servers from a Dockerfile or Containerfile, using Open Container Initiative (OCI) compatible images on Fluid compute.

This makes it easier to bring existing applications written in any language to Vercel while keeping the preview deployments, logs, routing, and autoscaling benefits of using Vercel Functions and Fluid compute.

To use container images with your functions, create a project with a Dockerfile.vercel (or Containerfile.vercel) file that starts an HTTP server listening on $PORT:


This image will be built, pushed, and deployed on every commit to Vercel Container Registry.

Learn more about using container images in the docs.

Read more

Continue reading...
 
Back
Top