mirror of https://github.com/mpolden/echoip
Update Dockerfile
This commit is contained in:
parent
796a1342d0
commit
a76d242564
|
@ -4,7 +4,8 @@ EXPOSE 8080
|
|||
|
||||
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
|
||||
RUN gunzip /var/tmp/GeoLite2-Country.mmdb.gz && \
|
||||
chown nobody:nogroup /var/tmp/GeoLite2-Country.mmdb
|
||||
|
||||
CMD ["-f", "/var/tmp/GeoLite2-Country.mmdb"]
|
||||
ENTRYPOINT ["/go/bin/app"]
|
||||
|
|
Loading…
Reference in New Issue