WeatherStation/DataScraper/DOCKERFILE
jeanGaston ff3e5d2045 update docker file
Change of plan
Use of raspian image
2024-02-06 10:35:21 +01:00

20 lines
465 B
Plaintext

FROM resin/rpi-raspbian:jessie
# Set the working directory in the container
WORKDIR /app
# Copy the script1.py and any other necessary files
COPY ./main.py /app/
# Install any dependencies
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 .
CMD ./entrypoint.sh