26 lines
434 B
Docker
26 lines
434 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y pip
|
|
RUN apt-get install -y unzip
|
|
|
|
RUN python3 -m pip install kaggle
|
|
RUN pip install pandas
|
|
RUN pip install matplotlib
|
|
RUN pip install sklearn
|
|
|
|
ARG CUTOFF
|
|
ARG KAGGLE_USERNAME
|
|
ARG KAGGLE_KEY
|
|
ENV CUTOFF=${CUTOFF}
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
RUN mkdir /dane
|
|
|
|
WORKDIR /app
|
|
|
|
COPY lab2/download.sh .
|
|
COPY lab2/main.py .
|
|
|
|
RUN ./download.sh |