diff --git a/DataScraper/DOCKERFILE b/DataScraper/DOCKERFILE index 9c8685c..3e7dfbd 100644 --- a/DataScraper/DOCKERFILE +++ b/DataScraper/DOCKERFILE @@ -11,6 +11,4 @@ COPY ./main.py /app/ RUN pip3 install --no-cache-dir bluepy # Set the entry point -CMD ["python", "main.py"] -#Run as root -USER root \ No newline at end of file +CMD ["python", "main.py"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 7cdd89c..fd09cb7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,14 +5,14 @@ services: build: context: ./DataScraper dockerfile: ./DOCKERFILE - + privileged: true web-gui: build: context: ./WebGui dockerfile: ./DOCKERFILE ports: - - '80:5000' - privileged: true + - '8080:5000' + database: image: mariadb