Update Dockerfile

This commit is contained in:
Martin Polden 2014-12-26 22:47:28 +01:00
parent 796a1342d0
commit a76d242564
1 changed files with 2 additions and 1 deletions

View File

@ -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"]