diff --git a/Dockerfile.geoip b/Dockerfile.geoip deleted file mode 100644 index 6dc4ec1..0000000 --- a/Dockerfile.geoip +++ /dev/null @@ -1,18 +0,0 @@ -# Build -FROM golang:1.13-buster AS build -WORKDIR /go/src/github.com/mpolden/echoip -COPY . . -# Must build without cgo because libc is unavailable in runtime image -ENV GO111MODULE=on CGO_ENABLED=0 -RUN make - -# Run -FROM scratch -EXPOSE 8080 - -COPY --from=build /go/bin/echoip /opt/echoip/ -COPY html /opt/echoip/html -COPY data /opt/echoip/data - -WORKDIR /opt/echoip -ENTRYPOINT ["/opt/echoip/echoip"] diff --git a/html/index.html b/html/index.html index 2093168..2dc79b7 100644 --- a/html/index.html +++ b/html/index.html @@ -6,7 +6,7 @@ @@ -56,9 +56,9 @@

This site is graciously hosted by
- Leafcloud – The Truly Sustainable Cloud + + Leafcloud – The Truly Sustainable Cloud +

@@ -174,7 +174,7 @@ MaxMind, available from www.maxmind.com

- {{ end }} {{ if .City }} + {{ end }} {{ if .Latitude }}

Map