add no-cache flag to docker build and remove download.sh script from docker build

This commit is contained in:
Szymon Parafiński 2022-03-31 21:32:23 +02:00
parent 981d89817b
commit f0d59be6c1
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ RUN pip3 install --user sklearn
WORKDIR /dataset
COPY ./script.py ./
COPY ./download.sh ./
COPY ./imdb_top_1000.csv ./
CMD python3 ./script.py

2
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
stage ("Build Docker image") {
steps {
sh 'docker build -t ium_docker .'
sh 'docker build --no-cache -t ium_docker .'
}
}
}