From 1b2e596592006728a06433d65a71cb1d3d8bb40b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:11:25 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 5c86bb805..e7d2b5b0e 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -48,12 +48,14 @@ RUN \ sed -i "/git clone/a sed -i '1a export BIRDNET_USER=\"abc\"'" /newinstaller.sh USER abc +WORKDIR /app RUN export DEBIAN_FRONTEND noninteractive && \ export BIRDNET_USER="abc" && \ export USER="abc" && \ export HOME="/app" && \ echo "HOME is $HOME" && \ - cd /app || true && \ + ls -l /app && \ + sudo chown -R abc:abc /app && \ /./newinstaller.sh USER root #sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"