Skip to main content
Vercel runs container images on Vercel Functions with autoscaling and Active CPU pricing.
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

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 username
  • EVIDENCE_BASIC_PASSWORD — HTTP Basic Auth password
  • every ${VAR} referenced in connection.yaml, here SNOWFLAKE_USER and SNOWFLAKE_PRIVATE_KEY
Click Deploy.
No 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.