ium_478815/Dockerfile

38 lines
810 B
Docker

FROM ubuntu:latest
RUN apt-get update -y
RUN apt update
RUN apt-get update
RUN apt install -y figlet
RUN export PATH=$PATH:/usr/local/bin/python”
RUN apt install python3-pip -y
RUN apt install unzip -y
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install torch
RUN pip3 install sklearn
RUN pip3 install matplotlib
RUN pip3 install sacred
RUN pip3 install numpy
RUN pip3 install wheel --no-deps -U
RUN pip3 install GitPython
RUN pip3 install pymongo
RUN apt-get install unzip
ARG CUTOFF
ENV CUTOFF=${CUTOFF}
RUN mkdir ~/.kaggle/
RUN echo '{"username":"kgirejko","key":"51854c15661583860a60db232a7026f0"}' > ~/.kaggle/kaggle.json
WORKDIR /app
COPY ./skrypt.sh ./
COPY ./skrypt_stats.sh ./
COPY biblioteka_DL.py .
COPY train-sacred.py .
COPY evaluation.py .
COPY data.csv .
CMD ./skrypt.sh