27 lines
550 B
Docker
27 lines
550 B
Docker
FROM ubuntu:latest
|
|
|
|
# COPY ./kaggle.json /root/.kaggle/kaggle.json
|
|
|
|
WORKDIR /app
|
|
|
|
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
|
|
|
|
ENV PATH="/root/.local/bin:${PATH}"
|
|
COPY . .
|
|
|
|
ARG KAGGLE_USERNAME
|
|
ARG KAGGLE_KEY
|
|
|
|
RUN chmod a+x ./stats-docker.sh
|
|
RUN chmod a+x ./script-stats.py
|
|
|
|
# RUN ./download.sh 117928
|
|
RUN python3 ./script-download.py |