fix: add custom entrypoint

This commit is contained in:
Félix Voituret
2020-06-19 14:13:49 +02:00
parent 072209a035
commit 07090238f0
2 changed files with 16 additions and 2 deletions

View File

@@ -9,5 +9,6 @@ ENV MODEL_PATH /model
RUN mkdir -p /model
RUN conda install -y -c conda-forge musdb
RUN conda install -y -c conda-forge ${SPLEETER_PACKAGE}==${SPLEETER_VERSION}
ENTRYPOINT "source /root/.bashrc && spleeter"
RUN echo "source /root/.bashrc; spleeter \"$@\"> /opt/entrypoint.sh"
COPY conda-entrypoint.sh spleeter-entrypoint.sh
ENTRYPOINT ["spleeter-entrypoint.sh"]