mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
refactor: docker image layout
This commit is contained in:
16
docker/spleeter.dockerfile
Normal file
16
docker/spleeter.dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
ARG BASE=python:3.6
|
||||
ARG SPLEETER_PACKAGE=spleeter
|
||||
ARG SPLEETER_VERSION=1.4.9
|
||||
|
||||
FROM ${BASE}
|
||||
|
||||
ENV MODEL_PATH /model
|
||||
|
||||
RUN mkdir -p /model
|
||||
COPY audio_example.mp3 .
|
||||
|
||||
RUN apt-get update && apt-get install -y ffmpeg libsndfile1
|
||||
RUN pip install musdb museval
|
||||
RUN pip install ${SPLEETER_PACKAGE}==${SPLEETER_VERSION}
|
||||
|
||||
ENTRYPOINT ["spleeter"]
|
||||
Reference in New Issue
Block a user