ium_444498/Dockerfile
Wirusik f7c9671206
All checks were successful
s444498-training/pipeline/head This commit looks good
only dockerfile true
2022-05-08 19:41:38 +02:00

31 lines
779 B
Docker

# Latest Ubuntu as starter
FROM ubuntu:latest
# Install required dependencies
RUN export PATH="$PATH:/root/.local/bin"
RUN apt update
RUN apt-get update
RUN apt install -y figlet
RUN export PATH=$PATH:/usr/local/bin/python”
RUN apt install python3-pip -y
RUN apt install unzip -y
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install pillow --global-option="build_ext" --global-option="--disable-zlib" --global-option="--disable-jpeg"
RUN pip3 install scikit-learn
RUN pip3 install matplotlib
RUN pip3 install torchvision
# Args
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV IS_DOCKER=True
# Create app directory in image
WORKDIR /app
# Copy everything from jenkins to /app
COPY . .
# Create kaggle catalog for authenticate
RUN mkdir /.kaggle/ && chmod o+w /.kaggle