From adf083ecbcd8bfecb8ae4fd5d8fd9aac4753ea27 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Jun 2019 22:58:18 +0200 Subject: [PATCH] Removed some RUN commands --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 338604b..5cef5ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,10 +17,9 @@ RUN apk add --no-cache \ pip2 install -r /tmp/requirements.txt && \ rm -r /root/.cache -RUN wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -RUN mkdir tmpgeo -RUN tar -xvf GeoLite2-City.tar.gz -C ./tmpgeo -RUN cp /tmpgeo/*/GeoLite2-City.mmdb / +RUN wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz && \ + mkdir tmpgeo && tar -xvf GeoLite2-City.tar.gz -C ./tmpgeo && \ + cp /tmpgeo/*/GeoLite2-City.mmdb / && rm -rf ./tmpgeo # Copy the application file ADD geoparser.py /