Skip to content

Commit

Permalink
docker: fix geoip
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-imba committed Aug 7, 2020
1 parent db146d5 commit 6c31c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN \. "$NVM_DIR/nvm.sh" && nvm install 9

# Enable IP Geo-Location
#RUN curl "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz" | gunzip -c > GeoLite2-City.mmdb
RUN curl "https://raw.githubusercontent.com/wp-statistics/GeoLite2-City/master/GeoLite2-City.mmdb.gz" | gunzip -c > GeoLite2-City.mmdb
RUN curl "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=AkW8B1e4mQXDkzwx&suffix=tar.gz" | gunzip -c > GeoLite2-City.mmdb

# Copy the cb4 dependencies
COPY ./package.json ./requirements.txt /srv/cb4/
Expand Down

0 comments on commit 6c31c72

Please sign in to comment.