From 2dae4e04cae8d8e3c6d03637efe4fac37710ac7f Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 15 Apr 2025 20:46:03 +0800 Subject: [PATCH] Aggiorna README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index be5e8cb..1bdafda 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,24 @@ # goStatic [![Docker Pulls](https://img.shields.io/docker/pulls/pierrezemb/gostatic.svg?style=plastic)](https://hub.docker.com/r/pierrezemb/gostatic/) [![Docker Build](https://img.shields.io/docker/build/pierrezemb/gostatic.svg?style=plastic)](https://hub.docker.com/r/pierrezemb/gostatic/) [![Build Status](https://travis-ci.org/PierreZ/goStatic.svg?branch=master)](https://travis-ci.org/PierreZ/goStatic) [![GoDoc](https://godoc.org/github.com/PierreZ/goStatic?status.svg)](https://godoc.org/github.com/PierreZ/goStatic) A really small, multi-arch, static web server for Docker +# La mia applicazione + +with docker + + sudo docker run -d -p 8120:8043 -v /home/nvme/dockerdata/myweb:/srv/http --name myweb pierrezemb/gostatic + +with docker compose or portainer + + services: + gostatic: + ports: + - 8120:8043 + volumes: + - /home/nvme/dockerdata/myweb:/srv/http + container_name: myweb + image: pierrezemb/gostatic + + ## The goal My goal is to create to smallest docker container for my web static files. The advantage of Go is that you can generate a fully static binary, so that you don't need anything else.