2022-03-30 00:10:03 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2022-04-03 22:24:43 +02:00
|
|
|
RUN apt-get update
|
2022-04-03 22:29:35 +02:00
|
|
|
RUN apt-get install -y python3-pip
|
2022-04-03 22:24:43 +02:00
|
|
|
RUN apt-get install -y unzip
|
2022-03-30 09:21:37 +02:00
|
|
|
|
2022-04-03 22:29:35 +02:00
|
|
|
RUN pip3 install kaggle
|
|
|
|
RUN pip3 install pandas
|
|
|
|
RUN pip3 install sklearn
|
2022-04-03 22:32:18 +02:00
|
|
|
RUN pip3 install numpy
|
2022-03-30 00:10:03 +02:00
|
|
|
|
2022-04-03 22:24:43 +02:00
|
|
|
ARG CUTOFF
|
|
|
|
ARG KAGGLE_USERNAME
|
|
|
|
ARG KAGGLE_KEY
|
|
|
|
ENV CUTOFF=${CUTOFF}
|
|
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
2022-03-30 00:10:03 +02:00
|
|
|
|
2022-04-03 22:24:43 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY lab2/download.sh .
|
|
|
|
COPY lab2/main.py .
|
|
|
|
|
2022-04-03 22:48:56 +02:00
|
|
|
RUN chmod +x ./download.sh
|
2022-04-03 23:23:32 +02:00
|
|
|
RUN ./download.sh
|
2022-04-03 23:41:58 +02:00
|
|
|
RUN python3 ./main.py
|