Attempt 10

This commit is contained in:
Paweł Skórzewski 2024-04-10 10:55:16 +02:00
parent 594ca50862
commit ca353acfa6
2 changed files with 7 additions and 14 deletions

View File

@ -1,11 +1,8 @@
FROM python:3.10 FROM python:3.10
RUN apt update && apt install -y python3-pip RUN apt update && apt install -y python3-pip
RUN pip3 install datasets kaggle RUN pip3 install datasets kaggle
WORKDIR /root
WORKDIR /app RUN mkdir -p /root/.kaggle && chmod 600 /root/.kaggle
VOLUME ["/app/.kaggle"]
# COPY ./create-dataset.py ./ # COPY ./create-dataset.py ./

4
Jenkinsfile vendored
View File

@ -15,10 +15,6 @@ pipeline {
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
} }
volumes {
hostPath("~/.kaggle")
containerPath("/app/.kaggle")
}
stages { stages {
stage('Kaggle') { stage('Kaggle') {
steps { steps {