geoip2influx/Dockerfile
2022-01-20 18:26:59 +01:00

15 lines
396 B
Docker

FROM lsiobase/alpine:3.15
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 \
logrotate \
libmaxminddb && \
echo " ## Installing python modules ## " && \
pip3 install --no-cache-dir -r requirements.txt
COPY root/ /