2022-04-04 01:27:04 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2022-04-11 00:49:21 +02:00
|
|
|
ARG KAGGLE_KEY
|
|
|
|
ARG KAGGLE_USERNAME
|
|
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
|
2022-04-04 01:27:04 +02:00
|
|
|
RUN apt update && apt install -y python3-pip
|
2022-04-11 00:40:48 +02:00
|
|
|
RUN apt install -y unzip python3
|
|
|
|
RUN pip3 install kaggle pandas seaborn sklearn
|
2022-04-04 01:27:04 +02:00
|
|
|
|
2022-04-11 00:49:21 +02:00
|
|
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
2022-04-04 01:27:04 +02:00
|
|
|
|
|
|
|
WORKDIR /ium
|
|
|
|
|
2022-04-11 00:40:48 +02:00
|
|
|
COPY download_dataset.sh process_dataset.py stats.sh Steel_industry_data.csv ./
|
|
|
|
|
2022-04-11 00:49:21 +02:00
|
|
|
RUN chmod a+x download_dataset.sh process_dataset.py stats.sh
|
2022-04-04 01:27:04 +02:00
|
|
|
|
|
|
|
#CMD ./download_dataset.sh
|
2022-04-11 00:40:48 +02:00
|
|
|
#CMD python3 process_dataset.py
|
2022-04-04 01:27:04 +02:00
|
|
|
#CMD ./stats.sh
|