Simple Nginx setup in Docker using Alpine.
- Builds an image named
mynginx - Runs Nginx on
http://localhost:8080 - Uses an external
nginx.conf - Mounts static files from
./html - Runs the container as a non-root user
docker compose up --builddocker compose down