Explorar o código

change base image

subDesTagesMitExtraKaese %!s(int64=2) %!d(string=hai) anos
pai
achega
4605632d50
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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 && \