Dockerfile
This commit is contained in:
parent
a3e99f8a81
commit
f998753f72
23
Dockerfile.txt
Normal file
23
Dockerfile.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user