From 03bf12f4e8783be07464718c30099a903e9d4f76 Mon Sep 17 00:00:00 2001 From: Norbert Walkowiak Date: Wed, 7 Jun 2023 08:05:31 +0200 Subject: [PATCH] update do zadania z lab 05 --- Jenkinsfile | 2 +- dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 26ad41d..7281369 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -63,7 +63,7 @@ pipeline { sh 'docker build --no-cache -t ium -f dockerfile .' } } - stage('Run command in container') { + stage('Run scripts in container') { steps { script { // Uruchamia instancje obrazu ium i uruchomienie skryptu w kontenerze diff --git a/dockerfile b/dockerfile index d2b2d8c..1792d65 100644 --- a/dockerfile +++ b/dockerfile @@ -25,4 +25,5 @@ WORKDIR /app COPY . /app/ # Uruchomienie trenoowania modelu -RUN python3.10 ./DL-model.py \ No newline at end of file +#RUN python3.10 ./DL-model.py +CMD python3.10 ./DL-model.py \ No newline at end of file