1
Add a Dockerfile.vercel
2
Modify and commit connection.yaml
The project must use a direct connector, with secrets replaced by
${VAR} environment references:connection.yaml is gitignored by default. Once its secrets are ${VAR} placeholders, remove it from .gitignore and commit it — the container reads it at runtime.3
Deploy
- Using the Vercel UI
- Using the Vercel CLI
Go to vercel.com/new and import the project’s GitHub repo.In the Environment Variables section of the import screen, add:
EVIDENCE_BASIC_USER— HTTP Basic Auth usernameEVIDENCE_BASIC_PASSWORD— HTTP Basic Auth password- every
${VAR}referenced inconnection.yaml, hereSNOWFLAKE_USERandSNOWFLAKE_PRIVATE_KEY
PORT variable is needed — Vercel provides one and the image binds to it automatically.Notes
- Container Images are in Beta on Vercel.
- Functions scale to zero when idle; the first request after idle incurs a cold start.

