ium_444498/Dockerfile
Wirusik 8780f35c2f
All checks were successful
s444498-evaluation/pipeline/head This commit looks good
s444498-training/pipeline/head This commit looks good
evaluate with jenkins
2022-05-08 20:48:57 +02:00

32 lines
708 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 numpy
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install pillow
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