2022-04-01 21:54:11 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2022-04-02 14:12:58 +02:00
|
|
|
# COPY ./kaggle.json /root/.kaggle/kaggle.json
|
|
|
|
|
2022-04-02 03:14:57 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-04-02 14:12:58 +02:00
|
|
|
RUN apt-get update && apt-get install -y
|
|
|
|
RUN apt-get install -y python3
|
|
|
|
RUN apt-get install -y unzip
|
|
|
|
RUN apt-get install -y python3-pip
|
|
|
|
|
|
|
|
RUN python3 -m pip --version
|
|
|
|
RUN python3 -m pip install kaggle
|
|
|
|
RUN python3 -m pip install pandas
|
|
|
|
|
|
|
|
RUN python3 -m pip freeze
|
2022-04-01 21:54:11 +02:00
|
|
|
|
2022-04-02 03:26:26 +02:00
|
|
|
# ENV PATH="/root/.local/bin:${PATH}"
|
2022-04-01 21:54:11 +02:00
|
|
|
|
2022-04-02 03:14:57 +02:00
|
|
|
COPY . .
|
2022-04-02 14:12:58 +02:00
|
|
|
|
|
|
|
# COPY ./figlet-loop.sh ./
|
|
|
|
# COPY ./download.sh ./
|
|
|
|
# COPY ./script.py ./
|
2022-04-01 22:06:47 +02:00
|
|
|
# COPY ./kaggle.json /root/.kaggle/kaggle.json
|
2022-04-01 23:23:48 +02:00
|
|
|
|
|
|
|
ARG KAGGLE_USERNAME=testKAGGLE_USERNAME
|
|
|
|
ARG KAGGLE_KEY=test1KAGGLE_KEY
|
2022-04-02 14:12:58 +02:00
|
|
|
|
2022-04-02 03:19:04 +02:00
|
|
|
RUN chmod u+x ./script.py
|
2022-04-01 23:23:48 +02:00
|
|
|
|
2022-04-01 23:05:45 +02:00
|
|
|
# RUN ./download.sh 117928
|
2022-04-02 02:56:55 +02:00
|
|
|
# RUN python3 ./script.py
|