This commit is contained in:
parent
68e41a262b
commit
0961509a8e
14
Dockerfile
14
Dockerfile
@ -5,11 +5,23 @@ FROM tensorflow/tensorflow:latest
|
|||||||
FROM continuumio/miniconda3:latest
|
FROM continuumio/miniconda3:latest
|
||||||
|
|
||||||
RUN apt update && apt install -y
|
RUN apt update && apt install -y
|
||||||
|
# RUN apt-get install -y python3
|
||||||
RUN apt-get install -y unzip
|
RUN apt-get install -y unzip
|
||||||
|
# RUN apt-get install -y python3-pip
|
||||||
RUN apt-get install unzip
|
RUN apt-get install unzip
|
||||||
RUN apt-get install wget
|
RUN apt-get install wget
|
||||||
|
|
||||||
|
RUN python3 -m pip install kaggle
|
||||||
|
RUN python3 -m pip install pandas
|
||||||
|
RUN pip3 install matplotlib
|
||||||
|
RUN pip3 install sacred
|
||||||
|
RUN pip3 install sacred
|
||||||
|
RUN pip3 install pymongo
|
||||||
|
RUN pip3 install mlflow
|
||||||
|
RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Create the environment:
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN ls -la
|
||||||
|
12
Jenkinsfile3
12
Jenkinsfile3
@ -12,12 +12,12 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('conda') {
|
// stage('conda') {
|
||||||
steps {
|
// steps {
|
||||||
sh 'conda env create -f environment.yml'
|
// sh 'conda env create -f environment.yml'
|
||||||
sh 'conda activate myenv'
|
// sh 'conda activate myenv'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
stage('Copy') {
|
stage('Copy') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts projectName: 's444417-create-dataset'
|
copyArtifacts projectName: 's444417-create-dataset'
|
||||||
|
Loading…
Reference in New Issue
Block a user