don't store crawlers on tmp files
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2022-09-10 16:06:24 -03:00
parent f5abb9f427
commit 23a0e3bdab

View file

@ -18,9 +18,9 @@ RUN addgroup -S -g 777 ssl
RUN addgroup nginx ssl
# Databases
RUN wget "${CRAWLERS}" -O /tmp/crawler-user-agents.json
RUN wget ${GEOIP2_DATABASE} -O - | tar -xJf - \
&& rm usr/share/GeoIP/GeoLite2-ASN.mmdb .BUILDINFO .MTREE .PKGINFO
RUN wget "${CRAWLERS}" -O /usr/share/nginx/crawler-user-agents.json
COPY ./monit.conf /etc/monit.d/nginx.conf
COPY ./prometheusd.sh /usr/local/bin/prometheusd