From 93a419d4f0307cf10b237ad2cbc2d86019df7e92 Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Tue, 6 Feb 2024 10:54:33 +0100 Subject: [PATCH] update dockerfile permission issues with entrypoint.sh --- DataScraper/DOCKERFILE | 1 + DataScraper/entrypoint.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/DataScraper/DOCKERFILE b/DataScraper/DOCKERFILE index e49d9c6..b151fbc 100644 --- a/DataScraper/DOCKERFILE +++ b/DataScraper/DOCKERFILE @@ -17,4 +17,5 @@ RUN pip3 install --no-cache-dir bleak # Set the entry point COPY entrypoint.sh . +RUN ["chmod", "+x", "./entrypoint.sh"] CMD ./entrypoint.sh \ No newline at end of file diff --git a/DataScraper/entrypoint.sh b/DataScraper/entrypoint.sh index 95dbd55..8d9af51 100644 --- a/DataScraper/entrypoint.sh +++ b/DataScraper/entrypoint.sh @@ -1,3 +1,5 @@ +#!/bin/bash + service dbus start service bluetooth start python3 ./main.py \ No newline at end of file