Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 569 Bytes

deployment.md

File metadata and controls

21 lines (14 loc) · 569 Bytes

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.