1
0

Dockerfile 399 B

123456789101112131415161718
  1. FROM alpine:3.18.4
  2. LABEL maintainer="Christopher Nethercott" \
  3. description="PiHole to InfluxDB data bridge"
  4. WORKDIR /app
  5. # Install Python packages
  6. COPY requirements.txt .
  7. RUN apk add --update --no-cache python3 py3-pip py3-pandas && \
  8. python3 -m pip install -r requirements.txt
  9. # Cleanup
  10. RUN rm -rf /var/cache/apk/*
  11. # Final setup & execution
  12. COPY . /app
  13. CMD ["python3", "-u", "main.py"]