From 23a0e3bdab42d1619397ef9a97bfa9e7fabcdaf7 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 10 Sep 2022 16:06:24 -0300 Subject: [PATCH] don't store crawlers on tmp files --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0e3337f..0101bc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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