[enh] Adds dockers
This commit is contained in:
parent
fcd15ef0ea
commit
509164ad5b
3 changed files with 64 additions and 16 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue