2022-04-04 01:27:04 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
RUN mkdir ~/.kaggle/
|
|
|
|
RUN echo '{"username":"ikami1","key":"c70ff184133bfabb351608b128e76cd2"}' > ~/.kaggle/kaggle.json
|
|
|
|
|
|
|
|
WORKDIR /ium
|
|
|
|
|
2022-04-11 00:40:48 +02:00
|
|
|
COPY download_dataset.sh process_dataset.py stats.sh Steel_industry_data.csv ./
|
|
|
|
|
|
|
|
RUN chmod a+x download_dataset.sh process_dataset.py
|
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
|