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
USER birdnet
ENV DEBIAN_FRONTEND noninteractive \
BIRDNET_USER="birdnet" \
HOME="/home/$BIRDNET_USER"
RUN bash /newinstaller.sh
RUN export DEBIAN_FRONTEND=noninteractive && \
export BIRDNET_USER="birdnet" && \
export HOME="/home/birdnet" && \
/./newinstaller.sh
USER root
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
# Correct script