diff --git a/Dockerfile b/Dockerfile index b1a4caf..948ba60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ ENV CUTOFF=${CUTOFF} ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_KEY=${KAGGLE_KEY} # Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie -CMD python3 -u ./download_data_and_process.py \ No newline at end of file +RUN ./process_data.sh \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 21c3f56..a4cdb34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,6 @@ pipeline { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) { - sh "sudo ./process_data.sh" sh 'python3 ./download_data_and_process.py' archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv" }