From a76d2425640fbe09947f24d8718465dd0fbc70ca Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 26 Dec 2014 22:47:28 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 778376c..b299966 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]