ium_444507/Dockerfile

27 lines
550 B
Docker
Raw Normal View History

2022-04-01 21:54:11 +02:00
FROM ubuntu:latest
2022-04-02 20:30:07 +02:00
# COPY ./kaggle.json /root/.kaggle/kaggle.json
2022-04-02 14:12:58 +02:00
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 20:28:16 +02:00
ENV PATH="/root/.local/bin:${PATH}"
COPY . .
2022-04-02 14:12:58 +02:00
2022-04-02 20:28:16 +02:00
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
2022-04-02 14:12:58 +02:00
2022-04-02 22:26:34 +02:00
RUN chmod a+x ./stats-docker.sh
RUN chmod a+x ./script-stats.py
2022-04-01 23:23:48 +02:00
2022-04-01 23:05:45 +02:00
# RUN ./download.sh 117928
2022-04-02 20:28:16 +02:00
RUN python3 ./script-download.py