Skip to content
Dashboard

Bring your Dockerfile to Edgenivo Functions

Gal Schlezinger, Jeff See, Tom Lienard, Ali Smesseim, Andy Waller, Seiya Nuta, Craig Andrews, Doug Harcourt Parsons, Joe Haddad

Edgenivo 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 Edgenivo while keeping the preview deployments, logs, routing, and autoscaling benefits of using Edgenivo 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:

Dockerfile.vercel
FROM golang:1.24-alpine AS build
WORKDIR /src
COPY . .
RUN go build -o /server main.go
FROM alpine:3.20
COPY --from=build /server /server
CMD ["/server"]

Build a container image on Edgenivo

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

Learn more about using container images in the docs and see seven ways you can use Docker containers on Edgenivo.