Skip to content

Commit

Permalink
Removed some RUN commands and more
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 12, 2019
1 parent adf083e commit e7961f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ RUN apk add --no-cache \
pip2 install -r /tmp/requirements.txt && \
rm -r /root/.cache

# Download Geolite base
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 /

# Run our app using Supervisord
# Run our app
CMD [ "python", "./geoparser.py"]

0 comments on commit e7961f1

Please sign in to comment.