fix: switch default shell, and entrypoint

This commit is contained in:
Félix Voituret
2020-06-19 13:45:55 +02:00
parent b8e4d21329
commit 072209a035
2 changed files with 2 additions and 1 deletions

View File

@@ -13,3 +13,4 @@ RUN apt-get update --fix-missing \
&& echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc \
&& echo "conda activate base" >> ~/.bashrc \
&& ln -s /opt/conda/bin/conda /usr/bin/conda
SHELL ["/bin/bash", "-c"]

View File

@@ -10,4 +10,4 @@ RUN mkdir -p /model
RUN conda install -y -c conda-forge musdb
RUN conda install -y -c conda-forge ${SPLEETER_PACKAGE}==${SPLEETER_VERSION}
ENTRYPOINT ["/bin/bash", "-c", "spleeter"]
ENTRYPOINT "source /root/.bashrc && spleeter"