Jenkins + docker fix
This commit is contained in:
parent
93fa20b793
commit
d7c54f104f
@ -6,14 +6,15 @@ RUN python3 -m pip install kaggle
|
|||||||
RUN python3 -m pip install pandas
|
RUN python3 -m pip install pandas
|
||||||
RUN python3 -m pip install scikit-learn
|
RUN python3 -m pip install scikit-learn
|
||||||
RUN python3 -m pip install --upgrade tensorflow
|
RUN python3 -m pip install --upgrade tensorflow
|
||||||
|
RUN python3 -m pip install dvc
|
||||||
|
RUN python3 -m pip install dvc[ssh] paramiko
|
||||||
|
|
||||||
WORKDIR app
|
WORKDIR app
|
||||||
|
|
||||||
ARG EPOCHS
|
ARG EPOCHS
|
||||||
ENV EPOCHS=${EPOCHS}
|
ENV EPOCHS=${EPOCHS}
|
||||||
|
|
||||||
COPY mlflow_training.py ./
|
COPY ml_prepare.py ./
|
||||||
COPY heart_2020_cleaned.csv ./
|
COPY ml_training.py ./
|
||||||
|
|
||||||
|
CMD ["python3", "./ml_training.py $EPOCHS"]
|
||||||
CMD ["python3", "./mlflow_training.py $EPOCHS"]
|
|
||||||
|
@ -22,7 +22,7 @@ pipeline {
|
|||||||
sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp'
|
sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp'
|
||||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||||
sh 'dvc pull'
|
sh 'dvc pull'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user