ium_464953/Dockerfile

22 lines
427 B
Docker

FROM ubuntu:latest
ENV KAGGLE_USERNAME=gulczas
ENV KAGGLE_KEY=default_key
RUN apt-get update && \
apt-get install -y \
python3 \
python3-pip \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install pandas scikit-learn requests kaggle
WORKDIR /app
COPY data_preparation_script.py /app/
RUN chmod +x data_preparation_script.py
CMD ["python3", "data_preparation_script.py"]