2021-04-18 15:02:19 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt update && apt install -y python3 && apt install -y nano
|
|
|
|
|
|
|
|
RUN apt update && apt install python3-pip -y
|
|
|
|
RUN pip3 install kaggle && pip3 install pandas && pip3 install scikit-learn && pip3 install matplotlib
|
|
|
|
RUN apt install -y curl
|
|
|
|
RUN pip3 install --user wget
|
2021-04-25 23:35:11 +02:00
|
|
|
RUN pip3 install torch torchvision torchaudio
|
2021-04-18 15:02:19 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./init.py ./
|
|
|
|
COPY ./stats.py ./
|
2021-04-25 23:35:11 +02:00
|
|
|
COPY ./pytorch-example.py ./
|
2021-04-18 15:02:19 +02:00
|
|
|
|
|
|
|
RUN mkdir /.kaggle
|
|
|
|
RUN chmod -R 777 /.kaggle
|