Skip to content

Commit b3ffc17

Browse files
authored
Merge pull request #114 from brunolm/master
Add Powershell script to run on Docker
2 parents 7734569 + f9a1f55 commit b3ffc17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run-docker.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$current = (Get-Location).Path;
2+
$target = $args[0];
3+
$name = Split-Path $target -Leaf;
4+
5+
docker run -it --mount type=bind,source="$target",target="/$name" --mount type=bind,source="$current",target="/app" codersrank/repo_info_extractor:latest /$name

0 commit comments

Comments
 (0)