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
Migrate database.
cd .gen/bin && ./migrate
Note
This will create the source.sqlite file on the host's disk.
3
Make a Dockerfile.
FROM scratch
COPY .gen/bin/source.sqlite /source.sqlite
COPY .gen/bin/start /start
EXPOSE 8080
ENTRYPOINT ["/start"]
4
Build the image.
docker build -t my-web-server .
5
Run.
docker run -p 8080:8080 my-web-server