A guided hands-on project completed as part of the "Learn Docker" course by Boot.dev. This repository serves as a learning artifact and demonstrates how to containerise a simple HTTP server written in Go.
This project was created to practise:
- building Go binaries
- writing Dockerfiles
- running containers with environment variables
- Language: Go (standard library only)
- Base image: Debian (stable-slim)
- Configuration: Port configurable via the
PORTenvironment variable
go build -o goserver main.godocker build -t goserver .docker run -p 8991:8991 -e PORT=8991 goserver