We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a128d54 commit bda262eCopy full SHA for bda262e
Dockerfile
@@ -1,18 +1,15 @@
1
-# Build from Python 3.8 slim
2
-FROM python:3.9-slim
+# Build from Python slim
+FROM python:3.11
3
4
# Install required packages while keeping the image small
5
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
6
7
-# Install required Python packages
8
-RUN pip3 install numpy scipy librosa bottle resampy
9
-
10
-# Install Tensforflow
11
-RUN pip3 install tensorflow
12
13
# Import all scripts
14
COPY . ./
15
+# Install required Python packages
+RUN pip3 install --no-cache-dir -r requirements.txt
+
16
# Add entry point to run the script
17
ENTRYPOINT [ "python3" ]
18
CMD [ "-m", "birdnet_analyzer.analyze" ]
0 commit comments