Update Dockerfile

update to bookworm
This commit is contained in:
Alex 2023-06-17 08:20:41 +02:00 committed by GitHub
parent dbb352801e
commit b6de5b9beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,14 @@
# build executable binary # build executable binary
############################ ############################
FROM python:slim-bullseye FROM python:slim-bookworm
COPY . /hoymiles COPY . /hoymiles
WORKDIR /hoymiles WORKDIR /hoymiles
# RUN apt-get update \
# && groupadd spi
RUN python3 -m pip install pyrf24 influxdb_client && \ RUN python3 -m pip install pyrf24 influxdb_client && \
python3 -m pip list #watch for RF24 module - if its there its installed python3 -m pip list #watch for RF24 module - if its there its installed