diff --git a/DataScraper/DOCKERFILE b/DataScraper/DOCKERFILE index 9c1edcd..e49d9c6 100644 --- a/DataScraper/DOCKERFILE +++ b/DataScraper/DOCKERFILE @@ -1,4 +1,5 @@ -FROM resin/rpi-raspbian:latest +# Use the official Python image as a base image +FROM python:3.11-bullseye # Set the working directory in the container WORKDIR /app @@ -7,12 +8,12 @@ WORKDIR /app COPY ./main.py /app/ # Install any dependencies -RUN apt update && \ - apt install -y \ - build-essential \ - python3 python3-pip \ - libglib2.0-dev libboost-python-dev libboost-thread-dev libbluetooth-dev && \ - pip install bleak +RUN apt-get update && apt-get install -y \ + dbus \ + bluetooth + + +RUN pip3 install --no-cache-dir bleak # Set the entry point COPY entrypoint.sh .