BirdNET-Analyzer
BirdNET-Analyzer copied to clipboard
Dockerfile dosn't find requirements.txt
Describe the bug Running docker build on the dockerfile doesn't work
To Reproduce Run docker build -t . from the root dir of this repo
Expected behavior The image is built
Screenshots none
Desktop (please complete the following information):
- OS: linux
- Version: ubuntu 22.04
Additional context here is the diff of the dockerfile that i'm using which does work
@@ -4,13 +4,17 @@ FROM python:3.11
# Install required packages while keeping the image small
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
+WORKDIR /app
+
# Import all scripts
COPY . ./
# Install required Python packages
RUN pip3 install .
+RUN pip3 install keras_tuner
+
# Add entry point to run the script
-ENTRYPOINT [ "python3" ]
-CMD [ "-m", "birdnet_analyzer.analyze" ]
+ENTRYPOINT [ "python3", "-m", "birdnet_analyzer.analyze" ]
It's a bit hacky, but I'd be happy to fix it up and send it as a pr