add no-cache flag to docker build and remove download.sh script from docker build
This commit is contained in:
parent
981d89817b
commit
f0d59be6c1
@ -10,7 +10,6 @@ RUN pip3 install --user sklearn
|
|||||||
|
|
||||||
WORKDIR /dataset
|
WORKDIR /dataset
|
||||||
COPY ./script.py ./
|
COPY ./script.py ./
|
||||||
COPY ./download.sh ./
|
|
||||||
COPY ./imdb_top_1000.csv ./
|
COPY ./imdb_top_1000.csv ./
|
||||||
|
|
||||||
CMD python3 ./script.py
|
CMD python3 ./script.py
|
||||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -5,7 +5,7 @@ pipeline {
|
|||||||
|
|
||||||
stage ("Build Docker image") {
|
stage ("Build Docker image") {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker build -t ium_docker .'
|
sh 'docker build --no-cache -t ium_docker .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user