mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 16:39:35 +03:00
feat: add v2rayGeoIPDat format
This commit is contained in:
@@ -3,7 +3,7 @@ FROM php:8.2-cli
|
||||
RUN apt-get update
|
||||
|
||||
# dependencies
|
||||
RUN apt-get install -y ntp whois dnsutils ipcalc
|
||||
RUN apt-get install -y ntpsec whois dnsutils ipcalc golang git
|
||||
|
||||
# composer
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
|
||||
@@ -41,6 +41,9 @@ WORKDIR /app
|
||||
|
||||
RUN composer install --no-interaction
|
||||
|
||||
RUN git clone https://github.com/v2fly/geoip.git \
|
||||
&& cd geoip && go build .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "php", "./index.php" ]
|
||||
|
Reference in New Issue
Block a user