Dockerfile

This commit is contained in:
Kornelia Girejko 2022-04-03 21:13:11 +02:00
parent 709900b03b
commit d0cd0d63e7

23
Dockerfile Normal file
View File

@ -0,0 +1,23 @@
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