Deployment

Packaging

Prebid Server is packaged with Docker and optimized to create lightweight containers.

Install Docker and build a container:

CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' .
docker build -t prebid-server .

Test locally with:

docker run -p 8000:8000 -t prebid-server

The server can be reached at http://localhost:8000.