1
0
subDesTagesMitExtraKaese 2 жил өмнө
parent
commit
4605632d50
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -1,4 +1,4 @@
-FROM python:3.9-slim-bullseye
+FROM debian:bullseye-slim
 
 LABEL maintainer="Christopher Nethercott" \
     description="PiHole to InfluxDB data bridge"
@@ -8,8 +8,8 @@ WORKDIR /app
 # Install Python packages
 COPY requirements.txt .
 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
 RUN apt-get -q -y autoremove && \