Skip to content
Dashboard

Bring your Dockerfile to Vercel Functions

, Jeff See, , Ali Smesseim, , Seiya Nuta, Craig Andrews, ,
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 Vercel

Ready to deploy?