Update Dokerfile for scraper

trying to add bluetooth support
This commit is contained in:
jeanGaston 2024-01-30 11:22:54 +01:00
parent 407f89a326
commit 859d6ee776

View File

@ -8,6 +8,20 @@ WORKDIR /app
COPY ./main.py /app/
# Install any dependencies
RUN apt-get update
RUN apt-get install -y --no-install-recommends libboost-all-dev
RUN apt-get install -y bluez \
bluetooth \
pkg-config \
libboost-python-dev \
libboost-thread-dev \
libbluetooth-dev \
libglib2.0-dev \
python3-dev \
libgirepository1.0-dev \
gcc \
libcairo2-dev \
gir1.2-gtk-3.0
RUN pip3 install --no-cache-dir bluepy
# Set the entry point