Removed some RUN commands
This commit is contained in:
parent
4123d92cc6
commit
adf083ecbc
1 changed files with 3 additions and 4 deletions
|
@ -17,10 +17,9 @@ RUN apk add --no-cache \
|
||||||
pip2 install -r /tmp/requirements.txt && \
|
pip2 install -r /tmp/requirements.txt && \
|
||||||
rm -r /root/.cache
|
rm -r /root/.cache
|
||||||
|
|
||||||
RUN wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
|
RUN wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz && \
|
||||||
RUN mkdir tmpgeo
|
mkdir tmpgeo && tar -xvf GeoLite2-City.tar.gz -C ./tmpgeo && \
|
||||||
RUN tar -xvf GeoLite2-City.tar.gz -C ./tmpgeo
|
cp /tmpgeo/*/GeoLite2-City.mmdb / && rm -rf ./tmpgeo
|
||||||
RUN cp /tmpgeo/*/GeoLite2-City.mmdb /
|
|
||||||
|
|
||||||
# Copy the application file
|
# Copy the application file
|
||||||
ADD geoparser.py /
|
ADD geoparser.py /
|
||||||
|
|
Loading…
Reference in a new issue