ium_470623/Dockerfile

22 lines
524 B
Docker
Raw Normal View History

2022-04-04 01:27:04 +02:00
FROM ubuntu:latest
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
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 ./
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