From 9d13064890f36d41c416f520b7f4c1533ddd7e33 Mon Sep 17 00:00:00 2001 From: Daniel Porzucek Date: Fri, 29 Mar 2024 15:01:18 +0100 Subject: [PATCH] changed dockerfile once again... --- Dockerfile | 4 +--- Jenkinsfile | 1 + scripts/entrypoint.sh | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 scripts/entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 925eb54..903700e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY Data_download.ipynb ./ -COPY --chmod=755 /scripts /scripts - -ENTRYPOINT ["/scripts/entrypoint.sh"] +ENTRYPOINT ["/bin/bash"] diff --git a/Jenkinsfile b/Jenkinsfile index badc617..6660d71 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,6 +26,7 @@ pipeline { steps { withEnv(["KAGGLE_USERNAME=${KAGGLE_USERNAME}", "KAGGLE_KEY=${KAGGLE_KEY}" ]) { + sh 'jupyter execute Data_download.ipynb' sh 'chmod 777 ./data_download.sh' sh './data_download.sh --cutoff ${CUTOFF}' archiveArtifacts artifacts: 'test_without_id_column.csv,cutoff_train.csv,test.csv,train.csv', followSymlinks: false diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh deleted file mode 100644 index 519a734..0000000 --- a/scripts/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -jupyter execute Data_download.ipynb -/bin/bash