Closed danvergara closed 8 months ago
ListenAndServe
Dockerfile
.dockerignore
Makefile
I'm using debian:bookworm-slim as a final stage image just in case we need external dependencies available for Debian-like systems.
Image built on my machine (GOOS=linux and GOARCH=amd64) is just 86.4 MB size. I can be smaller if I manage to avoid to use external dependencies.
Changes
ListenAndServe
functionDockerfile
to build the container image.dockerignore
fileMakefile
to run and build the container imageI'm using debian:bookworm-slim as a final stage image just in case we need external dependencies available for Debian-like systems.
Image built on my machine (GOOS=linux and GOARCH=amd64) is just 86.4 MB size. I can be smaller if I manage to avoid to use external dependencies.