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