22 lines
524 B
Docker
22 lines
524 B
Docker
FROM ubuntu:latest
|
|
|
|
ARG KAGGLE_KEY
|
|
ARG KAGGLE_USERNAME
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
RUN apt update && apt install -y python3-pip
|
|
RUN apt install -y unzip python3
|
|
RUN pip3 install kaggle pandas seaborn sklearn
|
|
|
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
|
|
|
WORKDIR /ium
|
|
|
|
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
|
|
|
|
#CMD ./download_dataset.sh
|
|
#CMD python3 process_dataset.py
|
|
#CMD ./stats.sh |