This commit is contained in:
parent
d30489e817
commit
101850ba06
@ -19,4 +19,8 @@ RUN pip3 install --user keras
|
||||
RUN pip3 install --user GitPython
|
||||
RUN pip3 install --user pymongo
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./train.py ./
|
||||
|
||||
CMD ./train.py
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
pipeline {
|
||||
agent any;
|
||||
agent { dockerfile true }
|
||||
|
||||
parameters{
|
||||
buildSelector(
|
||||
@ -31,11 +31,9 @@ pipeline {
|
||||
{
|
||||
steps
|
||||
{
|
||||
withDockerContainer('shroomy/ium2:2') {
|
||||
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Archive artifacts') {
|
||||
|
Loading…
Reference in New Issue
Block a user