Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ cd $SCRIPT_DIR
export PYTHONPATH=$SCRIPT_DIR

MODEL_DIR="${SCRIPT_DIR}/model_cache"
mkdir -p $MODEL_DIR
# Array of model files to pre-download
# local filename
# local path in container (no trailing slash)
Expand Down Expand Up @@ -49,7 +50,7 @@ fi
# Clear artifacts from conda after create/update
# @see https://docs.conda.io/projects/conda/en/latest/commands/clean.html
if (( $ENV_UPDATED > 0 )); then
conda clean --all
yes | conda clean --all
echo -n $ENV_MODIFIED > $ENV_MODIFED_FILE
fi

Expand Down