|
@@ -1,4 +1,4 @@
|
|
|
-FROM debian:12.9-slim
|
|
|
+FROM python:3.13-alpine
|
|
|
|
|
|
LABEL maintainer="Christopher Nethercott" \
|
|
|
description="PiHole to InfluxDB data bridge"
|
|
@@ -7,14 +7,7 @@ WORKDIR /app
|
|
|
|
|
|
# Install Python packages
|
|
|
COPY requirements.txt .
|
|
|
-RUN apt-get update && \
|
|
|
- apt-get install -y --no-install-recommends python3 python3-pip && \
|
|
|
- python3 -m pip install -r requirements.txt --break-system-packages
|
|
|
-
|
|
|
-# Clean up
|
|
|
-RUN apt-get -q -y autoremove && \
|
|
|
- apt-get -q -y clean && \
|
|
|
- rm -rf /var/lib/apt/lists/*
|
|
|
+RUN pip install -r requirements.txt --break-system-packages
|
|
|
|
|
|
# Final setup & execution
|
|
|
COPY . /app
|