fix run in dockerfile as well
This commit is contained in:
parent
4efd73f7fd
commit
17daecb06f
@ -32,7 +32,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
// run python3 main.py inside docker created from dockerfile in iumKC directory
|
// run python3 main.py inside docker created from dockerfile in iumKC directory
|
||||||
sh "docker build -t iumkc ."
|
sh "docker build -t iumkc ."
|
||||||
sh "docker run -v ${PWD}:/app iumkc python3 main.py"
|
sh "python3 main.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user