ium_444018/lab4/Dockerfile

26 lines
462 B
Docker
Raw Permalink Normal View History

2022-04-24 22:27:33 +02:00
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y python3-pip
RUN apt-get install -y unzip
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install sklearn
RUN pip3 install numpy
ARG CUTOFF
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV CUTOFF=${CUTOFF}
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
WORKDIR /app
COPY lab2/download.sh .
COPY lab2/main.py .
RUN chmod +x ./download.sh
RUN ./download.sh
RUN python3 ./main.py