2022-08-20 05:22:07 +02:00
|
|
|
# All in One BirdNET docker image
|
|
|
|
FROM debian:bullseye
|
|
|
|
|
|
|
|
ENV REPOSITORY=${REPOSITORY:-https://github.com/UncleSamulus/BirdNET-stream.git}
|
|
|
|
# DEBUG defaults to 1 for descriptive DEBUG logs, 0 for error logs only
|
|
|
|
ENV DEBUG=${DEBUG:-1}
|
|
|
|
WORKDIR /home/birdnet
|
2022-08-22 06:22:30 +02:00
|
|
|
RUN useradd -m -s /bin/bash -G sudo birdnet
|
|
|
|
USER birdnet
|
2022-08-20 05:22:07 +02:00
|
|
|
|
|
|
|
# Upgrade system
|
|
|
|
RUN apt-get update && apt-get upgrade -y
|
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
# Install some dependencies
|
2022-08-20 05:22:07 +02:00
|
|
|
RUN apt-get install -y \
|
2022-08-21 06:13:15 +02:00
|
|
|
sudo \
|
2022-08-22 06:22:30 +02:00
|
|
|
git \
|
|
|
|
curl \
|
|
|
|
bash \
|
|
|
|
vim \
|
|
|
|
systemctl
|
2022-08-20 05:22:07 +02:00
|
|
|
|
2022-08-21 06:13:15 +02:00
|
|
|
COPY ./install.sh install.sh
|
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
RUN ./install.sh
|
2022-08-20 05:22:07 +02:00
|
|
|
|
2022-08-22 06:22:30 +02:00
|
|
|
EXPOSE 443
|