From 2eee79c2f177c667adcd25540e6ec41c447d6e36 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Sat, 2 Apr 2022 03:14:57 +0200 Subject: [PATCH] python --- Dockerfile | 13 +++++++------ Jenkinsfile-docker | 3 +-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b65625..7dc0766 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,14 @@ FROM ubuntu:latest -RUN apt-get update && apt-get install -y figlet python3 python3-pip unzip -RUN pip3 install --user kaggle -RUN pip3 install --user pandas - -ENV PATH="/root/.local/bin:${PATH}" - WORKDIR /app +RUN apt-get update && apt-get install -y figlet python3 python3-pip unzip +RUN pip3 install kaggle +RUN pip3 install pandas + +ENV PATH="/root/.local/bin:${PATH}" + +COPY . . COPY ./figlet-loop.sh ./ COPY ./download.sh ./ COPY ./script.py ./ diff --git a/Jenkinsfile-docker b/Jenkinsfile-docker index 5b3e47d..4a1ed00 100644 --- a/Jenkinsfile-docker +++ b/Jenkinsfile-docker @@ -26,8 +26,7 @@ pipeline { stages { stage('Prepare dataset') { steps { - sh 'python3 ./script.py' - sh 'ls' + sh 'python ./script.sh' } } }