2021-04-10 15:08:18 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt update && apt install -y python3 && apt install -y nano
|
|
|
|
|
|
|
|
RUN apt update && apt install python3-pip -y
|
2021-04-10 15:33:36 +02:00
|
|
|
RUN pip3 install kaggle && pip3 install pandas && pip3 install scikit-learn && pip3 install matplotlib
|
2021-04-21 20:05:27 +02:00
|
|
|
RUN pip3 install torch torchvision torchaudio
|
2021-04-10 15:08:18 +02:00
|
|
|
RUN apt install -y curl
|
|
|
|
RUN pip3 install --user wget
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
# Skopiujmy nasz skrypt do katalogu /app w kontenerze
|
|
|
|
COPY ./skrypt_download.py ./
|
|
|
|
COPY ./skrypt_stat.py ./
|
|
|
|
|
2021-04-11 09:44:23 +02:00
|
|
|
RUN mkdir /.kaggle
|
|
|
|
RUN chmod -R 777 /.kaggle
|
2021-04-10 15:08:18 +02:00
|
|
|
|
|
|
|
|