Update Dockerfile

This commit is contained in:
Alexandre
2024-04-24 14:27:04 +02:00
committed by GitHub
parent 249ecf7938
commit 51e1bfb6d2

View File

@@ -36,10 +36,10 @@ RUN \
chmod 777 /newinstaller.sh chmod 777 /newinstaller.sh
USER birdnet USER birdnet
ENV DEBIAN_FRONTEND noninteractive \ RUN export DEBIAN_FRONTEND=noninteractive && \
BIRDNET_USER="birdnet" \ export BIRDNET_USER="birdnet" && \
HOME="/home/$BIRDNET_USER" export HOME="/home/birdnet" && \
RUN bash /newinstaller.sh /./newinstaller.sh
USER root USER root
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh" #sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
# Correct script # Correct script