Skip to content

Commit

Permalink
add volume mount in run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lfglance committed Jan 16, 2025
1 parent f7fa43d commit 4aa5956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

docker build -t echomind .

# Check if correct number of arguments are provided
Expand All @@ -16,6 +16,7 @@ CONFIG_FILE=$3
# Run the Docker command with the provided arguments
docker run -it --rm \
-v "$(pwd):/app" \
-v "$(pwd)/model:/root/.cache/whisper" \
-e INPUT_FILE="$INPUT_FILE" \
-e PROMPT_FILE="$PROMPT_FILE" \
-e CONFIG_FILE="$CONFIG_FILE" \
Expand Down

0 comments on commit 4aa5956

Please sign in to comment.