[enh] Adds dockers

This commit is contained in:
alban 2020-11-10 22:52:47 +01:00
parent fcd15ef0ea
commit 509164ad5b
3 changed files with 64 additions and 16 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
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"]