update dockerfile

This commit is contained in:
jeanGaston 2024-02-06 10:43:30 +01:00
parent ff3e5d2045
commit 591823a9c0

View File

@ -1,4 +1,4 @@
FROM resin/rpi-raspbian:jessie
FROM resin/rpi-raspbian:lastest
# Set the working directory in the container
@ -8,10 +8,10 @@ WORKDIR /app
COPY ./main.py /app/
# Install any dependencies
RUN apt-get update && \
apt-get install -y \
RUN apt update && \
apt install -y \
build-essential \
python-dev python-pip \
python3 python3-pip \
libglib2.0-dev libboost-python-dev libboost-thread-dev libbluetooth-dev && \
pip install bleak