|
@@ -1,4 +1,4 @@
|
|
-FROM python:3.9-slim-bullseye
|
|
|
|
|
|
+FROM debian:bullseye-slim
|
|
|
|
|
|
LABEL maintainer="Christopher Nethercott" \
|
|
LABEL maintainer="Christopher Nethercott" \
|
|
description="PiHole to InfluxDB data bridge"
|
|
description="PiHole to InfluxDB data bridge"
|
|
@@ -8,8 +8,8 @@ WORKDIR /app
|
|
# Install Python packages
|
|
# Install Python packages
|
|
COPY requirements.txt .
|
|
COPY requirements.txt .
|
|
RUN apt-get update && \
|
|
RUN apt-get update && \
|
|
- apt-get install -y --no-install-recommends python3-pandas && \
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
|
|
+ apt-get install -y --no-install-recommends python3 python3-pip python3-pandas && \
|
|
|
|
+ python3 -m pip install -r requirements.txt
|
|
|
|
|
|
# Clean up
|
|
# Clean up
|
|
RUN apt-get -q -y autoremove && \
|
|
RUN apt-get -q -y autoremove && \
|