-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.sh
executable file
·24 lines (19 loc) · 751 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
set -o errexit
if [ -f .env ]; then
source .env
fi
if [ -z "$SC_RUNTIME" ]
then
echo "SC_RUNTIME is not set"
exit 1
fi
$SC_RUNTIME build -t sc-pytube:0.0.1 ./services/pytube/
$SC_RUNTIME build -t sc-audiochunks:0.0.1 ./services/audio_chunks/
$SC_RUNTIME build -t sc-combine_asr_rttm:0.0.1 ./services/combine_asr_rttm/
$SC_RUNTIME build -t sc-pyannote:0.0.1 ./services/pyannote/
$SC_RUNTIME build -t sc-whisper:0.0.1 ./services/whisper/
$SC_RUNTIME build -t sc-summarization:0.0.1 ./services/summarization/
$SC_RUNTIME build -t sc-pyannote-cuda:0.0.1 ./services-cuda/pyannote/
$SC_RUNTIME build -t sc-whisper-cuda:0.0.1 ./services-cuda/whisper/
$SC_RUNTIME build -t sc-summarization-cuda:0.0.1 ./services-cuda/summarization/