Dockerfile 235 Bytes
Newer Older
Matteo's avatar
update  
Matteo committed
1
2
3
4
5
6
FROM matteospanio/poetry:latest AS poetry

WORKDIR /app

COPY . ./

Matteo's avatar
Matteo committed
7
RUN apt update && apt install ffmpeg -y
Matteo's avatar
update    
Matteo committed
8

Matteo's avatar
update  
Matteo committed
9
10
11
12
RUN poetry install --no-cache --only main

VOLUME [ "/data" ]

Matteo's avatar
Matteo committed
13
CMD ["poetry", "run", "python", "src/audio_analyzer/server.py"]