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
|
||||
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
pipeline {
|
||||
agent any;
|
||||
agent { dockerfile true }
|
||||
|
||||
parameters{
|
||||
buildSelector(
|
||||
@ -31,9 +31,7 @@ pipeline {
|
||||
{
|
||||
steps
|
||||
{
|
||||
withDockerContainer('shroomy/ium2:2') {
|
||||
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||
}
|
||||
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user