ium_444498/Dockerfile
Mateusz 24cf18df57
All checks were successful
s444498-evaluation/pipeline/head This commit looks good
s444498-training/pipeline/head This commit looks good
sacred apply
2022-05-09 18:23:36 +02:00

36 lines
782 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 git
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
RUN pip3 install sacred
RUN pip3 install pymongo
# 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