26 lines
536 B
Docker
26 lines
536 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
|
|
|
|
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 ./
|
|
|
|
CMD ./skrypt.sh
|