Docker
You don't need docker to deploy your application.
If you really want to use docker, the recommended way to do so is to statically compile your program and start from scratch.

Get Started
1
Build your program statically.
CGO_ENABLED=0 frizzante build
2
Make a Dockerfile.
FROM scratch
COPY .gen/bin/app /app
EXPOSE 8080
ENTRYPOINT ["/app"]
3
Build the image.
docker build -t my-web-server .
4
Run.
docker run -p 8080:8080 my-web-server