File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,4 +52,8 @@ export default {
5252 youtube : {
5353 apiKey : process . env . YOUTUBE_API_KEY ,
5454 } ,
55+
56+ docker : {
57+ imageName : 'brefsearch-data' ,
58+ } ,
5559} ;
Original file line number Diff line number Diff line change 11import { gitRoot , run , spinner } from 'firost' ;
2-
3- const imageName = 'brefsearch-tools' ;
2+ import config from './config.js' ;
43
54/**
65 * Build the Docker image with spinner feedback
@@ -20,7 +19,7 @@ export async function buildImage() {
2019 'docker build' ,
2120 `--build-arg USER_ID=${ userId } ` ,
2221 `--build-arg GROUP_ID=${ groupId } ` ,
23- `-t ${ imageName } ` ,
22+ `-t ${ config . docker . imageName } ` ,
2423 gitRoot ( ) ,
2524 ] . join ( ' ' ) ;
2625
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ docker run --rm \
1515 -v " $GIT_ROOT :/workspace/brefsearch-data" \
1616 -v " $MEDIA_ROOT :/workspace/brefsearch-media" \
1717 -w /workspace/brefsearch-data \
18- brefsearch-tools \
18+ brefsearch-data \
1919 " ffmpeg $* "
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ docker run --rm \
1515 -v " $GIT_ROOT :/workspace/brefsearch-data" \
1616 -v " $MEDIA_ROOT :/workspace/brefsearch-media" \
1717 -w /workspace/brefsearch-data \
18- brefsearch-tools \
18+ brefsearch-data \
1919 " yt-dlp $* "
You can’t perform that action at this time.
0 commit comments