33 lines
801 B
Docker
33 lines
801 B
Docker
FROM ubuntu:20.04
|
|
|
|
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 pip3 install torch torchvision torchaudio
|
|
RUN apt install -y curl
|
|
RUN pip3 install --user wget
|
|
RUN pip3 install sacred && pip3 install GitPython && pip3 install pymongo
|
|
RUN pip3 install dvc
|
|
RUN pip3 install 'dvc[ssh]' paramiko
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
# Skopiujmy nasz skrypt do katalogu /app w kontenerze
|
|
COPY ./skrypt_download.py ./
|
|
COPY ./skrypt_stat.py ./
|
|
COPY ./IUM_05.py ./
|
|
COPY ./training.py ./
|
|
COPY ./mongoObserver.py ./
|
|
COPY ./fileObserver.py ./
|
|
COPY ./fileObserver.py ./
|
|
COPY ./train_10.py ./
|
|
COPY ./split_10.py ./
|
|
|
|
RUN mkdir /.kaggle
|
|
RUN chmod -R 777 /.kaggle
|
|
|
|
|