mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-10 15:37:24 +01:00
Update Dockerfile
This commit is contained in:
parent
13d0408823
commit
65ffd03479
@ -2,7 +2,9 @@ FROM golang:onbuild
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ADD ./assets /go/bin/assets
|
||||
ADD ./index.html /go/bin/
|
||||
ADD http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz /var/tmp/
|
||||
ADD index.html /go/bin/
|
||||
RUN gunzip /var/tmp/GeoLite2-Country.mmdb.gz
|
||||
|
||||
CMD ["-f", "/var/tmp/GeoLite2-Country.mmdb"]
|
||||
ENTRYPOINT ["/go/bin/app"]
|
||||
|
Loading…
Reference in New Issue
Block a user