Add Root execution pour le scrapper
Add DB to docker compose
This commit is contained in:
jeanGaston
2024-01-30 10:22:50 +01:00
parent 5e1a48b523
commit fa80edff71
2 changed files with 14 additions and 19 deletions
+3 -5
View File
@@ -9,10 +9,8 @@ COPY ./main.py /app/
# Install any dependencies
RUN pip3 install --no-cache-dir bluepy
RUN apt-get update
RUN apt-get install -y bluez bluetooth
RUN service dbus start bluetoothd
# Set the entry point
CMD ["python", "main.py"]
CMD ["python", "main.py"]
#Run as root
USER root