ium_478815/Dockerfile
2022-04-03 21:13:11 +02:00

23 lines
510 B
Docker

FROM ubuntu:latest
RUN apt-get update -y
COPY ./requirements.txt .
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
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.py .
RUN ./skrypt.sh