geoip2influx/Dockerfile

14 lines
379 B
Docker
Raw Normal View History

2020-06-25 22:43:33 +02:00
FROM lsiobase/alpine:3.12
LABEL maintainer="GilbN"
WORKDIR /geoip2influx
COPY requirements.txt geoip2influx.py /geoip2influx/
RUN \
echo " ## Installing packages ## " && \
apk add --no-cache --virtual=build-dependencies \
python3 \
py3-pip \
libmaxminddb && \
echo " ## Installing python modules ## " && \
pip3 install --no-cache-dir -r requirements.txt
COPY root/ /