forked from birdnet-team/BirdNET-V1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
21 lines (15 loc) · 759 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Build from Python 3.7 slim
FROM python:3.7-slim
# Install required packages while keeping the image small
RUN apt-get update && apt-get install -y --no-install-recommends git ffmpeg build-essential gfortran libblas-dev liblapack-dev && rm -rf /var/lib/apt/lists/*
# Install required Python packages
RUN pip install numpy scipy librosa future
# Install Theano and Lasagne
RUN pip install -r https://raw.githubusercontent.com/Lasagne/Lasagne/master/requirements.txt
RUN pip install https://github.com/Lasagne/Lasagne/archive/master.zip
# Import all scripts
COPY . ./
# Fetch model
ADD https://tuc.cloud/index.php/s/m9smX4FkqmJaxLW/download ./model/BirdNET_Soundscape_Model.pkl
# Add entry point to run the script
ENTRYPOINT [ "python3", "./analyze.py" ]