20 lines
364 B
Docker
20 lines
364 B
Docker
FROM python:3.8-slim
|
|
LABEL name=redilysis version=0.1
|
|
|
|
WORKDIR /opt
|
|
RUN apt update
|
|
RUN apt install -y --no-install-recommends build-essential\
|
|
gcc\
|
|
pkg-config\
|
|
python-dev\
|
|
portaudio19-dev\
|
|
libsndfile1\
|
|
alsa-utils\
|
|
pulseaudio
|
|
RUN pip3 install librosa numpy pyaudio redis statistics
|
|
|
|
COPY . .
|
|
|
|
# Start the main process.
|
|
CMD ["python", "./redilysis.py", "-L"]
|