fix run in dockerfile as well

This commit is contained in:
Karol Cyganik 2024-04-03 09:08:54 +02:00
parent 4efd73f7fd
commit 17daecb06f

View File

@ -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"
} }
} }
} }